Drop NotifyAccess=all from systemd units
[bbaumbach/samba-autobuild/.git] / packaging / systemd / samba.service.in
1 [Unit]
2 Description=Samba AD Daemon
3 Documentation=man:samba(8) man:samba(7) man:smb.conf(5)
4 Wants=network-online.target
5 After=network.target network-online.target
6
7 [Service]
8 Type=notify
9 PIDFile=@PIDDIR@/samba.pid
10 LimitNOFILE=16384
11 EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba
12 ExecStart=@SBINDIR@/samba --foreground --no-process-group $SAMBAOPTIONS
13 ExecReload=/bin/kill -HUP $MAINPID
14 @systemd_samba_extra@
15
16 [Install]
17 WantedBy=multi-user.target