Reload systemctl daemon

This commit is contained in:
Chandler Swift 2020-03-20 11:22:15 -05:00
parent 26950028a6
commit a63d057367

View file

@ -22,6 +22,7 @@ steps:
- ssh service@factorio.blackolivepineapple.pizza sudo service factorio-site stop || true - ssh service@factorio.blackolivepineapple.pizza sudo service factorio-site stop || true
- rsync --rsync-path="sudo rsync" --archive --verbose --compress . service@factorio.blackolivepineapple.pizza:/opt/factorio-site/ - rsync --rsync-path="sudo rsync" --archive --verbose --compress . service@factorio.blackolivepineapple.pizza:/opt/factorio-site/
- ssh service@factorio.blackolivepineapple.pizza sudo mv /opt/factorio-site/factorio-site.service /etc/systemd/system/ - ssh service@factorio.blackolivepineapple.pizza sudo mv /opt/factorio-site/factorio-site.service /etc/systemd/system/
- ssh service@factorio.blackolivepineapple.pizza sudo systemctl daemon-reload
- ssh service@factorio.blackolivepineapple.pizza sudo service factorio-site start - ssh service@factorio.blackolivepineapple.pizza sudo service factorio-site start
when: when:
branch: master branch: master