diff --git a/templates/default/template-daemon-runuser.new b/templates/default/template-daemon-runuser.new new file mode 100644 index 0000000..d442138 --- /dev/null +++ b/templates/default/template-daemon-runuser.new @@ -0,0 +1,8 @@ +# 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. diff --git a/templates/default/template-daemon.new b/templates/default/template-daemon.new new file mode 100644 index 0000000..015c4f6 --- /dev/null +++ b/templates/default/template-daemon.new @@ -0,0 +1,7 @@ +# 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. +# 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.