This commit is contained in:
parent
b842444aaf
commit
d4ae163fda
@ -22,7 +22,7 @@ done
|
|||||||
cd ..
|
cd ..
|
||||||
echo "finished copying to remote host..."
|
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..."
|
echo "reloading fruitvote..."
|
||||||
|
|
||||||
rm /tmp/key
|
rm /tmp/key
|
||||||
|
Loading…
Reference in New Issue
Block a user