Update supervisor.service

pull/509/head
Mr Chen 1 year ago
parent 315eb82a89
commit 114ed15c02
  1. 4
      plugins/supervisor/init.d/supervisor.service

@ -5,8 +5,8 @@ After=network.target
[Service]
Type=forking
ExecStart={$SUP_BIN} -c {$SERVER_PATH}/supervisor/supervisor.conf
ExecStop=/bin/kill -s TERM $MAINPID
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=kill -s TERM $MAINPID
ExecReload=kill -s HUP $MAINPID
KillMode=process
Restart=on-failure

Loading…
Cancel
Save