systemd: Start processes in forground and without a process group
authorAndreas Schneider <asn@samba.org>
Fri, 10 Nov 2017 08:32:27 +0000 (09:32 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Nov 2017 14:31:27 +0000 (15:31 +0100)
commit8b6f58194da7e849cdb9d20712dff49b17a93a77
tree86110ed9b1c8503e0cc33b77552c39e5cbc756f6
parent8736013dc42c5755b75bbb2e843a290bcd545909
systemd: Start processes in forground and without a process group

We should not double fork in notify mode or systemd think something
during startup will be wrong and send SIGTERM to the process. So
sometimes the daemon will not start up correctly.

systemd will also handle the process group.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13129

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Nov 28 15:31:27 CET 2017 on sn-devel-144
packaging/systemd/nmb.service
packaging/systemd/samba.service
packaging/systemd/smb.service
packaging/systemd/winbind.service