From f17e3981e212709f1fea4eac9d00c89e71f77043 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Tue, 11 Oct 2022 00:56:39 +0100 Subject: [PATCH] New default/ templates. --- templates/default/template-daemon-runuser.new | 8 ++++++++ templates/default/template-daemon.new | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 templates/default/template-daemon-runuser.new create mode 100644 templates/default/template-daemon.new 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.