From 1b9f6dc846379470b620b5dbb9d4d7acd1de148c Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Jan 2013 00:05:59 -0800 Subject: Mon Jan 28 00:05:59 PST 2013 --- extra/samba/smbd.service | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extra/samba/smbd.service') diff --git a/extra/samba/smbd.service b/extra/samba/smbd.service index 68d1947da..64abf5665 100644 --- a/extra/samba/smbd.service +++ b/extra/samba/smbd.service @@ -1,9 +1,11 @@ [Unit] Description=Samba SMB/CIFS server -After=network.target +After=network.target nmbd.service winbindd.service [Service] -ExecStart=/usr/sbin/smbd -F +Type=forking +PIDFile=/var/run/samba/smbd.pid +ExecStart=/usr/sbin/smbd -D ExecReload=/bin/kill -HUP $MAINPID [Install] -- cgit v1.2.3-54-g00ecf