A switch to disable checking if the service pid is in the correct cgroup

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-01-09 16:53:02 +03:00
parent 5c33fc5712
commit e2ac26902c
2 changed files with 16 additions and 5 deletions

View File

@@ -34,8 +34,14 @@
# Enable cgroup-related functions
#cgroups = 0
# Check if the recorded PID of the service is in the correct cgroup.
# Only works with cgroups = 1
#cgroups_check_pid = 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