debug: Set close-on-exec for the main log file FD
[Samba.git] / packaging / systemd / smb.service
blob9810891e8c2ff240c73de245ba819e44741dd563
1 [Unit]
2 Description=Samba SMB Daemon
3 After=syslog.target network.target nmb.service winbind.service
5 [Service]
6 Type=notify
7 NotifyAccess=all
8 PIDFile=/run/smbd.pid
9 LimitNOFILE=16384
10 EnvironmentFile=-/etc/sysconfig/samba
11 ExecStart=/usr/sbin/smbd $SMBDOPTIONS
12 ExecReload=/usr/bin/kill -HUP $MAINPID
14 [Install]
15 WantedBy=multi-user.target