packaging: Set default limit for core file size in service files
[gd/samba-autobuild/.git] / packaging / systemd / winbind.service
index eff266f0d837ac8afb15b00eafbfe91fd9622460..c511488166e87558203ec127f5c6a45f4cf69417 100644 (file)
@@ -3,11 +3,13 @@ Description=Samba Winbind Daemon
 After=syslog.target network.target nmb.service
 
 [Service]
-Type=forking
+Type=notify
+NotifyAccess=all
 PIDFile=/run/winbindd.pid
 EnvironmentFile=-/etc/sysconfig/samba
 ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS"
 ExecReload=/usr/bin/kill -HUP $MAINPID
+LimitCORE=infinity
 
 [Install]
 WantedBy=multi-user.target