Update mw.service.tpl
This commit is contained in:
parent
e1ef876db1
commit
46d7f83cc4
|
|
@ -4,9 +4,9 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory={$SERVER_PATH}/web
|
||||
WorkingDirectory={$SERVER_PATH}
|
||||
EnvironmentFile={$SERVER_PATH}/scripts/init.d/service.sh
|
||||
ExecStart=gunicorn -c setting.py app:app
|
||||
ExecStart=cd web && gunicorn -c setting.py app:app
|
||||
ExecStop=kill -HUP $MAINID
|
||||
ExecReload=kill -HUP $MAINID
|
||||
KillMode=process
|
||||
|
|
|
|||
Loading…
Reference in New Issue