systemd reload

This commit is contained in:
Bob Mottram 2015-03-29 11:46:34 +01:00
parent 9c6bc30815
commit 89a8e6e164
1 changed files with 1 additions and 0 deletions

View File

@ -8595,6 +8595,7 @@ function create_upgrade_script {
echo 'GOPATH=/home/git/go' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
echo 'go build' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
echo 'systemctl restart gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
echo 'systemctl daemon-reload' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
fi
echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME