home · contact · privacy
Fix faulty filename as per systemd unit file reference.
[config] / bullseye / setup_scripts / setup_website.sh
index 99d5f4ef23a23146ff1eabb8b039ae7aeec6a98c..ad36796d493e3c578fc7ad7a7ac2f26c5d4245e0 100755 (executable)
@@ -123,6 +123,12 @@ fi
 # TODO systemctl enable plomlombot.service
 # TODO service plomlombot start
 
+# Set up guiltcards.
+su -lc "git clone /var/repos/guiltcards" plom
+cp "${config_tree_prefix}/setup_scripts/mirror_dir.sh" /home/plom/
+su -lc "./mirror_dir.sh ${old_server} /home/plom/guiltcards/decks" plom
+rm /home/plom/mirror_dir.sh
+
 # In the above step, we might have created a root-owned /var/www/html –
 # fix this here.
 chown -R plom:plom /var/www/html