packaging: add configure option to preprocess and install systemd files
[samba.git] / packaging / systemd / nmb.service.in
1 [Unit]
2 Description=Samba NMB 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@/nmbd.pid
10 EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba
11 ExecStart=@SBINDIR@/nmbd --foreground --no-process-group $NMBDOPTIONS
12 ExecReload=/usr/bin/kill -HUP $MAINPID
13 LimitCORE=infinity
14 @systemd_nmb_extra@
15
16 [Install]
17 WantedBy=multi-user.target