fix substitution
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Elizabeth Hunt 2024-03-10 03:00:58 -06:00
parent b842444aaf
commit d4ae163fda
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -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