summaryrefslogtreecommitdiffstats
path: root/debian/winbind.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/winbind.service')
-rw-r--r--debian/winbind.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/winbind.service b/debian/winbind.service
index 190c868..5b009a4 100644
--- a/debian/winbind.service
+++ b/debian/winbind.service
@@ -1,11 +1,12 @@
[Unit]
Description=Samba Winbind Daemon
Documentation=man:winbindd(8) man:samba(7) man:smb.conf(5)
-After=network.target nmb.service
+After=network.target nmbd.service
+Before=nss-user-lookup.target
[Service]
Type=notify
-PIDFile=/ruin/samba/winbindd.pid
+PIDFile=/run/samba/winbindd.pid
EnvironmentFile=-/etc/default/samba
ExecStart=/usr/sbin/winbindd --foreground --no-process-group $WINBINDOPTIONS
ExecReload=/bin/kill -HUP $MAINPID