Be more conservative about respawn

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-03-08 02:34:49 +03:00
parent 8ead4b8c47
commit eea04dff95
35 changed files with 15 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env ssm
# For respawn to work, set 'daemon no' in nginx.conf
#service_respawn='true'
#service_respawn=on-failure
service_command='/usr/bin/nginx'
service_pidfile='/run/nginx.pid'