2026-11-27 16:30:27 +00:00
|
|
|
# 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.
|
2018-03-09 02:31:14 +03:00
|
|
|
|
2026-11-27 16:30:27 +00:00
|
|
|
# ── Discovery ─────────────────────────────────────────────────────────
|
|
|
|
|
# Where to look for services. PATH-like array
|
|
|
|
|
# service_path = "$XDG_CONFIG_HOME/ssm/services" /etc/ssm/services /usr/share/ssm/services
|
2018-03-09 02:31:14 +03:00
|
|
|
|
2026-11-27 16:30:27 +00:00
|
|
|
# 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
|
2020-03-07 18:50:02 +03:00
|
|
|
|
2026-11-27 16:30:27 +00:00
|
|
|
# ── Service defaults ──────────────────────────────────────────────────
|
|
|
|
|
# Respawn the service if it exits.
|
|
|
|
|
#service_respawn = no # no | always | on-failure | on-success
|
2020-03-07 18:50:02 +03:00
|
|
|
|
2026-11-27 16:30:27 +00:00
|
|
|
# ...and where it starts.
|
|
|
|
|
#service_workdir = /
|
2020-03-07 18:50:02 +03:00
|
|
|
|
2026-11-27 16:30:27 +00:00
|
|
|
# How long to wait for the service to stop and for it to report ready.
|
|
|
|
|
#service_stop_timeout = 30
|
2020-03-07 18:50:02 +03:00
|
|
|
#service_ready_timeout = 15
|
|
|
|
|
|
2026-11-27 16:30:27 +00:00
|
|
|
# Signals used for reload and stop.
|
|
|
|
|
#service_reload_signal = 1 # SIGHUP
|
|
|
|
|
#service_stop_signal = 15 # SIGTERM
|
2020-03-07 18:50:02 +03:00
|
|
|
|
2026-11-27 16:30:27 +00:00
|
|
|
# ── Cgroups ───────────────────────────────────────────────────────────
|
|
|
|
|
# Experimental, cgroups v2, requires a helper. There is no documentation
|
|
|
|
|
# for that. Just don't use this.
|
2020-03-07 18:50:02 +03:00
|
|
|
#cgroups = 1
|
|
|
|
|
#service_cgroup_exclusive = 0
|
|
|
|
|
#service_cgroup_wait = 0
|
2026-11-27 16:30:27 +00:00
|
|
|
#service_cgroup_strict = 1
|
|
|
|
|
#service_cgroup_kill = 0
|
|
|
|
|
#service_cgroup_kill_signal = 15
|
|
|
|
|
#service_cgroup_cleanup = 0
|