summaryrefslogtreecommitdiffstats
path: root/packaging/systemd/winbind.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/systemd/winbind.service.in')
-rw-r--r--packaging/systemd/winbind.service.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/packaging/systemd/winbind.service.in b/packaging/systemd/winbind.service.in
new file mode 100644
index 0000000..d28a0e9
--- /dev/null
+++ b/packaging/systemd/winbind.service.in
@@ -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=@PIDDIR@/winbindd.pid
+EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba
+ExecStart=@SBINDIR@/winbindd --foreground --no-process-group $WINBINDOPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
+LimitCORE=infinity
+@systemd_winbind_extra@
+
+[Install]
+WantedBy=multi-user.target