2018-01-08 09:02:02 +00:00
|
|
|
# This is actually a bash script
|
|
|
|
|
|
|
|
# Where to search for services, works as a PATH-like array.
|
|
|
|
#service_path = "$XDG_CONFIG_HOME/ssm/services" /etc/ssm/services "$rundir/services" /usr/share/ssm/services
|
|
|
|
|
|
|
|
# Service defaults
|
|
|
|
# Respawn the service if it exits
|
|
|
|
#service_respawn = 0
|
|
|
|
|
|
|
|
# Working directory
|
|
|
|
#service_workdir = '/'
|
|
|
|
|
|
|
|
# How long do we wait for the service to stop
|
|
|
|
#service_stop_timeout = 30
|
|
|
|
|
|
|
|
# How long do we wait for the service to get ready
|
|
|
|
#service_ready_timeout = 15
|
|
|
|
|
|
|
|
# Signals to pass through to the service under the respawner
|
|
|
|
#service_signals = 1 10 12
|
|
|
|
|
|
|
|
# The signal to send to reload the service
|
|
|
|
#service_reload_signal = 1
|
|
|
|
|
|
|
|
# The signal to send to stop the service
|
|
|
|
#service_stop_signal = 15
|
|
|
|
|
|
|
|
# Enable systemd-related functions.
|
|
|
|
#systemd = 0
|
|
|
|
|
|
|
|
# Where to look fro system service files
|
|
|
|
#systemd_service_path = /etc/systemd/system /run/systemd/system /lib/systemd/system
|
|
|
|
|
|
|
|
# Enable cgroup-related functions
|
|
|
|
#cgroups = 0
|
|
|
|
|
2018-01-09 13:53:02 +00:00
|
|
|
# Check if the recorded PID of the service is in the correct cgroup.
|
|
|
|
# Only works with cgroups = 1
|
|
|
|
#cgroups_check_pid = 1
|
|
|
|
|
2018-01-08 09:02:02 +00:00
|
|
|
# Refuse to start the service if its cgroup is not empty
|
2018-01-09 13:53:02 +00:00
|
|
|
# Only works with cgroups = 1
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_cgroup_exclusive = 0
|
|
|
|
|
|
|
|
# Wait on all the members of the cgroup to exit when stopping the service.
|
2018-01-09 13:53:02 +00:00
|
|
|
# Only works with cgroups = 1
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_cgroup_wait = 0
|