repo/templates/default/template-daemon-runuser.new

8 lines
714 B
Text

# These are the common settings used in rc.d scripts, but there may be more per script.
# SERVICE_ENVIRONMENT=() # Extra environment passed to $SERVICE_EXEC. Must be an array.
# SERVICE_EXTRA_ARGS=() # Extra arguments passed to $SERVICE_EXEC. Must be an array.
# SERVICE_RUNUSER="" # Username to run the service as. Default: User who starts the script.
# DAEMON_ENVIRONMENT=() # Extra environment passed to $DAEMON_EXEC. Must be an array.
# DAEMON_EXTRA_ARGS=() # Extra arguments passed to $DAEMON_EXEC. Must be an array.
# SLAY_DELAY="" # Delay between the SIGTERM and SIGKILL on a 'stop'. Default: 2s.
# RESTART_DELAY="" # Delay between stopping and starting on a 'restart'. Default: 2s.