mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-22 23:27:04 +00:00
service: only kill the main daemon for legacy sysv services, so that we don't kill sshd sessions
This commit is contained in:
parent
e93bc5a61f
commit
b29a8e58fa
@ -661,6 +661,7 @@ static int service_load_sysv_path(Service *s, const char *path) {
|
||||
|
||||
/* Special setting for all SysV services */
|
||||
s->valid_no_process = true;
|
||||
s->kill_mode = KILL_PROCESS_GROUP;
|
||||
|
||||
/* Don't timeout special services during boot (like fsck) */
|
||||
if (s->sysv_runlevels && !chars_intersect("12345", s->sysv_runlevels))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user