summaryrefslogtreecommitdiffstats
path: root/debian/winbind.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/winbind.service')
-rw-r--r--debian/winbind.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/winbind.service b/debian/winbind.service
new file mode 100644
index 0000000..190c868
--- /dev/null
+++ b/debian/winbind.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Samba Winbind Daemon
+Documentation=man:winbindd(8) man:samba(7) man:smb.conf(5)
+After=network.target nmb.service
+
+[Service]
+Type=notify
+PIDFile=/ruin/samba/winbindd.pid
+EnvironmentFile=-/etc/default/samba
+ExecStart=/usr/sbin/winbindd --foreground --no-process-group $WINBINDOPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
+LimitCORE=infinity
+ExecCondition=/usr/share/samba/is-configured winbind
+
+[Install]
+WantedBy=multi-user.target