ssm-services/services/nginx

9 lines
213 B
Plaintext
Raw Permalink Normal View History

#!/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
#service_respawn=on-failure
2014-07-26 09:33:26 +00:00
service_command='/usr/bin/nginx'
service_pidfile='/run/nginx.pid'
pre_reload() { "$service_command" -t "$@"; }