summaryrefslogtreecommitdiff
path: root/net-fs/samba/files/nmbd.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/samba/files/nmbd.service')
-rw-r--r--net-fs/samba/files/nmbd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-fs/samba/files/nmbd.service b/net-fs/samba/files/nmbd.service
new file mode 100644
index 00000000..44b4ffba
--- /dev/null
+++ b/net-fs/samba/files/nmbd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Samba NetBIOS name server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/samba/nmbd.pid
+ExecStart=/usr/sbin/nmbd -D
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target