mirror of
https://github.com/troglobit/finit.git
synced 2026-10-15 10:29:35 +00:00
fixup! inetd: only restart inetd services when neccessary
Signed-off-by: Jonas Johansson <jonasj76@gmail.com>
This commit is contained in:
1 parent
f522a26125
commit
59f22c7d27
1 file changed
+2
@@ -1114,9 +1114,11 @@ restart:
|
||||
break;
|
||||
service_restart(svc);
|
||||
} else {
|
||||
#ifdef INETD_ENABLED
|
||||
if (svc_is_inetd(svc))
|
||||
inetd_stop_children(&svc->inetd, 1);
|
||||
else
|
||||
#endif
|
||||
service_stop(svc);
|
||||
}
|
||||
svc_mark_clean(svc);
|
||||
|
||||
Reference in new issue
Block a user