summaryrefslogtreecommitdiffstats
path: root/abs/extra/samba/nmbd.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/samba/nmbd.service')
-rw-r--r--abs/extra/samba/nmbd.service6
1 files changed, 5 insertions, 1 deletions
diff --git a/abs/extra/samba/nmbd.service b/abs/extra/samba/nmbd.service
index 6e22ef2..e138225 100644
--- a/abs/extra/samba/nmbd.service
+++ b/abs/extra/samba/nmbd.service
@@ -1,8 +1,12 @@
[Unit]
Description=Samba NetBIOS name server
+After=network.target
[Service]
-ExecStart=/usr/sbin/nmbd -F
+Type=forking
+PIDFile=/var/run/nmbd.pid
+ExecStart=/usr/bin/nmbd -D
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target