ssm-services/services/nginx
fbt 43c86f2200 nginx service was silly
Signed-off-by: fbt <fbt@fleshless.org>
2018-03-08 02:43:19 +03:00

9 lines
213 B
Plaintext
Executable File

#!/usr/bin/env ssm
# For respawn to work, set 'daemon no' in nginx.conf
#service_respawn=on-failure
service_command='/usr/bin/nginx'
service_pidfile='/run/nginx.pid'
pre_reload() { "$service_command" -t "$@"; }