summaryrefslogtreecommitdiffstats
path: root/abs/extra/samba/samba.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/samba/samba.service')
-rw-r--r--abs/extra/samba/samba.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra/samba/samba.service b/abs/extra/samba/samba.service
new file mode 100644
index 0000000..562d425
--- /dev/null
+++ b/abs/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/bin/samba $SAMBAOPTIONS
+ExecReload=/usr/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target