summaryrefslogtreecommitdiff
path: root/extra/samba/samba.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/samba/samba.service')
-rw-r--r--extra/samba/samba.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/samba/samba.service b/extra/samba/samba.service
new file mode 100644
index 000000000..e423a7d2d
--- /dev/null
+++ b/extra/samba/samba.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Samba AD Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/samba.pid
+LimitNOFILE=16384
+EnvironmentFile=-/etc/conf.d/samba
+ExecStart=/usr/sbin/samba $SAMBAOPTIONS
+ExecReload=/usr/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target