Skip to content

Commit

Permalink
Add reload for systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Aug 10, 2023
1 parent 7f95b4c commit e7fc5af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ After=syslog.target

[Service]
ExecStart=/opt/hackergame/.venv/bin/uwsgi --ini /opt/hackergame/conf/uwsgi-apps/%i.ini --ini /opt/hackergame/conf/uwsgi.ini --set-placeholder appname=%i --daemonize /var/log/uwsgi/app/%i.log
ExecReload=/bin/kill -HUP $MAINPID
LogsDirectory=uwsgi/app
RuntimeDirectory=uwsgi/app/%i
Restart=always
Expand Down

0 comments on commit e7fc5af

Please sign in to comment.