summaryrefslogtreecommitdiffstats
path: root/abs/extra/samba/smbd.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/samba/smbd.service')
-rw-r--r--abs/extra/samba/smbd.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/abs/extra/samba/smbd.service b/abs/extra/samba/smbd.service
index beb9bfa..0a8125d 100644
--- a/abs/extra/samba/smbd.service
+++ b/abs/extra/samba/smbd.service
@@ -1,8 +1,11 @@
[Unit]
Description=Samba SMB/CIFS server
+After=network.target nmbd.service winbindd.service
[Service]
-ExecStart=/usr/sbin/smbd -F
+Type=forking
+PIDFile=/var/run/smbd.pid
+ExecStart=/usr/bin/smbd -D
ExecReload=/bin/kill -HUP $MAINPID
[Install]