systemd reload
This commit is contained in:
parent
9c6bc30815
commit
89a8e6e164
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue