From d4ae163fdaf3478687f1b75e18dd053da08d92de Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Sun, 10 Mar 2024 03:00:58 -0600 Subject: [PATCH] fix substitution --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 0f7baec..afbf8d8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -22,7 +22,7 @@ done cd .. echo "finished copying to remote host..." -ssh -i /tmp/key -o StrictHostKeyChecking=no $(echo "${RSYNC_DESTINATION%%:*}") "systemctl daemon-reload --user && systemctl restart --user fruitvote" +ssh -i /tmp/key -o StrictHostKeyChecking=no $(echo "${RSYNC_DESTINATION%%:*}") "systemctl daemon-reload --user ; systemctl stop --user fruitvote ; systemctl start --user fruitvote" echo "reloading fruitvote..." rm /tmp/key