add systemd integration
[bbaumbach/samba-autobuild/.git] / packaging / systemd / smb.service
index d0d945aae791f6bd94b88c5563b5404eb4cc48fc..9810891e8c2ff240c73de245ba819e44741dd563 100644 (file)
@@ -3,7 +3,8 @@ Description=Samba SMB Daemon
 After=syslog.target network.target nmb.service winbind.service
 
 [Service]
-Type=forking
+Type=notify
+NotifyAccess=all
 PIDFile=/run/smbd.pid
 LimitNOFILE=16384
 EnvironmentFile=-/etc/sysconfig/samba