#!/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 "$@"; }