summaryrefslogtreecommitdiff
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 00000000000..5ac5adc846f
--- /dev/null
+++ b/packaging/systemd/winbind.service.in
@@ -0,0 +1,16 @@
+[Unit]
+Description=Samba Winbind Daemon
+After=syslog.target network.target nmb.service
+
+[Service]
+Type=notify
+NotifyAccess=all
+PIDFile=@PIDDIR@/winbindd.pid
+EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba
+ExecStart=@SBINDIR@/winbindd --foreground --no-process-group "$WINBINDOPTIONS"
+ExecReload=/usr/bin/kill -HUP $MAINPID
+LimitCORE=infinity
+@systemd_winbind_extra@
+
+[Install]
+WantedBy=multi-user.target