2017-07-13 13:09:42 +00:00
|
|
|
#!/usr/bin/env ssm
|
2014-07-26 09:33:26 +00:00
|
|
|
|
2015-09-15 09:28:17 +00:00
|
|
|
# For respawn to work, set 'daemon no' in nginx.conf
|
2018-03-07 23:34:49 +00:00
|
|
|
#service_respawn=on-failure
|
2014-07-26 09:33:26 +00:00
|
|
|
service_command='/usr/bin/nginx'
|
|
|
|
service_pidfile='/run/nginx.pid'
|
|
|
|
|
2018-03-07 23:43:19 +00:00
|
|
|
pre_reload() { "$service_command" -t "$@"; }
|