diff options
Diffstat (limited to 'packaging/systemd/nmb.service.in')
-rw-r--r-- | packaging/systemd/nmb.service.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packaging/systemd/nmb.service.in b/packaging/systemd/nmb.service.in new file mode 100644 index 0000000..ceeeea4 --- /dev/null +++ b/packaging/systemd/nmb.service.in @@ -0,0 +1,17 @@ +[Unit] +Description=Samba NMB Daemon +Documentation=man:nmbd(8) man:samba(7) man:smb.conf(5) +Wants=network-online.target +After=network.target network-online.target + +[Service] +Type=notify +PIDFile=@PIDDIR@/nmbd.pid +EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba +ExecStart=@SBINDIR@/nmbd --foreground --no-process-group $NMBDOPTIONS +ExecReload=/bin/kill -HUP $MAINPID +LimitCORE=infinity +@systemd_nmb_extra@ + +[Install] +WantedBy=multi-user.target |