There is no passthru anymore

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2020-03-07 18:50:02 +03:00
parent a0ef06810c
commit bba7eef3d9
2 changed files with 34 additions and 10 deletions

View File

@ -1,11 +1,37 @@
# This is actually a bash script # This is actually a bash script
# Everything in ssm is a bash script.
# Enable cgroup-related functions. # Where to search for services, works as a PATH-like array.
# This requires quite specific setup that is undocumented as of yet, sorry. #service_path = "$XDG_CONFIG_HOME/ssm/services" /etc/ssm/services "$rundir/services" /usr/share/ssm/services
#cgroups = 0
# You can also set service-level options here, as local defaults. # Service defaults
# I really do not advise doing that, but you *can*. # Respawn the service if it exits
# For example: #service_respawn = 0
#service_workdir = /
# 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
# 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 cgroup-related functions
# Only works with cgroups v2 and a helper.
# Basically, don't.
#
#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

2
ssm
View File

@ -592,7 +592,6 @@ var service_pid \
service_cgroup_name \ service_cgroup_name \
service_cgroup_procs \ service_cgroup_procs \
service_cgroup_path \ service_cgroup_path \
service_signals_passthru \
service_config_current \ service_config_current \
cgroup_home \ cgroup_home \
failed_deps \ failed_deps \
@ -628,7 +627,6 @@ var service_workdir = '/'
var service_stop_timeout = 30 var service_stop_timeout = 30
var service_stop_command = kill -n "\$service_stop_signal" "\$job_pid" var service_stop_command = kill -n "\$service_stop_signal" "\$job_pid"
var service_ready_timeout = 15 var service_ready_timeout = 15
var service_signals = 1 10 12
var service_reload_signal = 1 var service_reload_signal = 1
var service_stop_signal = 15 var service_stop_signal = 15
var service_cgroup_exclusive = 0 # Refuse to start the service if its cgroup is not empty var service_cgroup_exclusive = 0 # Refuse to start the service if its cgroup is not empty