systemd: Start processes in forground and without a process group
commite90e3d7efb555dc430ba47c433c96f4f4835f33f
authorAndreas Schneider <asn@samba.org>
Fri, 10 Nov 2017 08:32:27 +0000 (10 09:32 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 29 Nov 2017 08:24:25 +0000 (29 09:24 +0100)
tree62fb52ae368237c534fa0c75d363fc9579bd192e
parentfe6da6730b5a7bc43fe8a060f00571cad783ee15
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>
(cherry picked from commit 8b6f58194da7e849cdb9d20712dff49b17a93a77)
packaging/systemd/nmb.service
packaging/systemd/samba.service
packaging/systemd/smb.service
packaging/systemd/winbind.service