home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 15 Apr 2020 20:35:08 +0000 (22:35 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 15 Apr 2020 20:35:08 +0000 (22:35 +0200)
buster/setup_scripts/setup_website.sh

index 38b49a20595a4715ec21c06c2b688504d7026d1c..84896bf4208709f0f71c9c6b8341f4cfa8ff2b13 100755 (executable)
@@ -105,7 +105,7 @@ else
   su -lc "./mirror_dir.sh ${old_server} /home/plom/plomlombot_db" plom
   rm /home/plom/mirror_dir.sh
   su -lc "scp plom@${old_server}:.plomlombot ~" plom
-  ssh plom@"${old_server}" "su -lc 'service plomlombot stop'"
+  su -lc "ssh plom@${old_server} \"su -lc 'service plomlombot stop'\"" plom
 fi
 
 systemctl enable plomlombot.service