better ssm.conf example too

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-27 16:30:27 +00:00
parent f74df5962e
commit eb6c46e330
+29 -26
View File
@@ -1,37 +1,40 @@
# This is actually a bash script
# ssm global configuration
#
# This file is a bash script: it is sourced by ssm, so it can do anything
# bash can — set variables, use the var() helper, define functions.
#
# Uncomment a line to change that default.
# 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
# ── Discovery ─────────────────────────────────────────────────────────
# Where to look for services. PATH-like array
# service_path = "$XDG_CONFIG_HOME/ssm/services" /etc/ssm/services /usr/share/ssm/services
# Service defaults
# Respawn the service if it exits
#service_respawn = 0
# The directories the built-in search order uses (do not set unless you
# really mean to override the search path entirely).
# service_path = /usr/share/ssm/services
# Working directory
#service_workdir = '/'
# ── Service defaults ──────────────────────────────────────────────────
# Respawn the service if it exits.
#service_respawn = no # no | always | on-failure | on-success
# How long do we wait for the service to stop
# ...and where it starts.
#service_workdir = /
# How long to wait for the service to stop and for it to report ready.
#service_stop_timeout = 30
# How long do we wait for the service to get ready
#service_ready_timeout = 15
# The signal to send to reload the service
#service_reload_signal = 1
# Signals used for reload and stop.
#service_reload_signal = 1 # SIGHUP
#service_stop_signal = 15 # SIGTERM
# The signal to send to stop the service
#service_stop_signal = 15
# Enable cgroup-related functions
# Only works with cgroups v2 and a helper.
# Basically, don't.
#
# ── Cgroups ───────────────────────────────────────────────────────────
# Experimental, cgroups v2, requires a helper. There is no documentation
# for that. Just don't use this.
#cgroups = 1
# Refuse to start the service if its cgroup is not empty
#service_cgroup_exclusive = 0
# Wait on all the members of the cgroup to exit when stopping the service.
#service_cgroup_wait = 0
#service_cgroup_strict = 0
#service_cgroup_strict = 1
#service_cgroup_kill = 0
#service_cgroup_kill_signal = 15
#service_cgroup_cleanup = 0