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