summaryrefslogtreecommitdiffstats
path: root/debian/samba.nmbd.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/samba.nmbd.service')
-rw-r--r--debian/samba.nmbd.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/samba.nmbd.service b/debian/samba.nmbd.service
new file mode 100644
index 0000000..4f74f49
--- /dev/null
+++ b/debian/samba.nmbd.service
@@ -0,0 +1,19 @@
+[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=/run/samba/nmbd.pid
+EnvironmentFile=-/etc/default/samba
+ExecStart=/usr/sbin/nmbd --foreground --no-process-group $NMBDOPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
+LimitCORE=infinity
+ExecCondition=/usr/share/samba/is-configured nmb
+
+[Install]
+WantedBy=multi-user.target
+# Upstream name:
+Alias=nmb.service