A feature to kill the cgroup members when stopping the service

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-03-05 01:01:57 +03:00
parent 2f3837d07c
commit 8ae151b601
2 changed files with 17 additions and 4 deletions

View File

@@ -32,13 +32,15 @@
## These only work with cgroups = 1:
## Check if the recorded PID of the service is in the correct cgroup.
## Only works with cgroups = 1
#service_cgroup_strict = 1
## Refuse to start the service if its cgroup is not empty
## Only works with cgroups = 1
#service_cgroup_exclusive = 0
## Wait on all the members of the cgroup to exit when stopping the service.
## Only works with cgroups = 1
#service_cgroup_wait = 0
## Send a kill signal to the members of cgroup when
## stopping the service, and the signal to send:
#service_cgroup_kill = 0
#service_cgroup_kill_signal = 15