ssm/examples/services/nginx

9 lines
215 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env ssm
service_respawn = on-failure
service_command = /usr/bin/nginx
service_pidfile = /run/nginx.pid
# Do not reload the service if the config test fails.
pre_reload() { "$service_command" -t "$@"; }