summaryrefslogtreecommitdiff
path: root/extra/samba/nmbd.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/samba/nmbd.service')
-rw-r--r--extra/samba/nmbd.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/samba/nmbd.service b/extra/samba/nmbd.service
index 55c22f563..e91fafbb2 100644
--- a/extra/samba/nmbd.service
+++ b/extra/samba/nmbd.service
@@ -3,7 +3,10 @@ Description=Samba NetBIOS name server
After=network.target
[Service]
+Type=forking
+PIDFile=/var/run/samba/nmbd.pid
ExecStart=/usr/sbin/nmbd -F
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target