2018-01-08 09:02:02 +00:00
|
|
|
# This is actually a bash script
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
# Enable cgroup-related functions
|
|
|
|
#cgroups = 0
|
|
|
|
|
2018-01-08 09:02:02 +00:00
|
|
|
# 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
|
2018-03-04 21:35:29 +00:00
|
|
|
|
|
|
|
## Respawn the service if it exits
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_respawn = 0
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## Working directory
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_workdir = '/'
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## How long do we wait for the service to stop
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_stop_timeout = 30
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## How long do we wait for the service to get ready
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_ready_timeout = 15
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## Signals to pass through to the service under the respawner
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_signals = 1 10 12
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## The signal to send to reload the service
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_reload_signal = 1
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## The signal to send to stop the service
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_stop_signal = 15
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## These only work with cgroups = 1:
|
2018-01-08 09:02:02 +00:00
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## Check if the recorded PID of the service is in the correct cgroup.
|
|
|
|
## Only works with cgroups = 1
|
|
|
|
#service_cgroup_strict = 1
|
2018-01-09 13:53:02 +00:00
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## Refuse to start the service if its cgroup is not empty
|
|
|
|
## Only works with cgroups = 1
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_cgroup_exclusive = 0
|
|
|
|
|
2018-03-04 21:35:29 +00:00
|
|
|
## Wait on all the members of the cgroup to exit when stopping the service.
|
|
|
|
## Only works with cgroups = 1
|
2018-01-08 09:02:02 +00:00
|
|
|
#service_cgroup_wait = 0
|