Originally posted by Naib
View Post
From the gentoo wiki on openrc:
"
Service Cleanup
It's possible to trigger killing all service process tree (in process cgroup) when services is stopped or restarted. By setting
File/etc/conf.d/<service>an example of triggering cgroup cleanup
rc_cgroup_cleanup="yes"
This option should not be set globally as it will kill all service's child processes e.g. SSH connections or apache workers, as OpenRC doesn't support automatic process cgroup-relocation as it done in logind services. "
Did not know that so thanks for pointing this out. Maybe someone can explain a bit more that they mean by "automatic process cgroup-relocation ".
Up to know, I was working under the assumption that if you are using sshd.service a restart would drop all ssh connections while using sshd.socket would not but maybe there is something more to it.
Comment