summaryrefslogtreecommitdiff
path: root/packaging/systemd/winbind.service
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/systemd/winbind.service')
-rw-r--r--packaging/systemd/winbind.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/systemd/winbind.service b/packaging/systemd/winbind.service
new file mode 100644
index 0000000000..91f9112a35
--- /dev/null
+++ b/packaging/systemd/winbind.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Samba Winbind Daemon
+Requires=smb.service nmb.service
+After=syslog.target network.target smb.service nmb.service
+
+[Service]
+Type=forking
+PIDFile=/run/winbindd.pid
+EnvironmentFile=-/etc/sysconfig/samba
+ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS"
+
+[Install]
+WantedBy=multi-user.target