aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/nmbd.service
diff options
context:
space:
mode:
Diffstat (limited to 'clfs/units/nmbd.service')
-rw-r--r--clfs/units/nmbd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/clfs/units/nmbd.service b/clfs/units/nmbd.service
new file mode 100644
index 0000000..a2e3a45
--- /dev/null
+++ b/clfs/units/nmbd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Samba NetBIOS name server
+After=network.target
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/default/samba
+PIDFile=/run/samba/nmbd.pid
+ExecStart=/usr/sbin/nmbd -D $NMBD_OPTS
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target