systemd: Start processes in forground and without a process group
[sfrench/samba-autobuild/.git] / packaging / systemd / nmb.service
index 992c0cd9d2b863f99b630791a9279a8a01fab172..71c93d6088b4b85eb93c6d8df8ecf514b87fac98 100644 (file)
@@ -7,7 +7,7 @@ Type=notify
 NotifyAccess=all
 PIDFile=/run/nmbd.pid
 EnvironmentFile=-/etc/sysconfig/samba
-ExecStart=/usr/sbin/nmbd $NMBDOPTIONS
+ExecStart=/usr/sbin/nmbd --foreground --no-process-group $NMBDOPTIONS
 ExecReload=/usr/bin/kill -HUP $MAINPID
 LimitCORE=infinity