summaryrefslogtreecommitdiff
path: root/packaging/systemd/samba.service
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-04-02 14:23:27 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-04-04 18:04:09 +0200
commitd0fbe16a6b1c4a98279d310a414582bba29f8a3a (patch)
tree1c08dd0158613ad035647656133e47c9a8a8091f /packaging/systemd/samba.service
parent0971a4ee6cd23f4a864c47d49e3899d00122e6e5 (diff)
downloadsamba-d0fbe16a6b1c4a98279d310a414582bba29f8a3a.tar.gz
samba-d0fbe16a6b1c4a98279d310a414582bba29f8a3a.tar.bz2
samba-d0fbe16a6b1c4a98279d310a414582bba29f8a3a.zip
systemd: Add samba service file.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Apr 4 18:04:09 CEST 2012 on sn-devel-104
Diffstat (limited to 'packaging/systemd/samba.service')
-rw-r--r--packaging/systemd/samba.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/systemd/samba.service b/packaging/systemd/samba.service
new file mode 100644
index 0000000000..d2db18c362
--- /dev/null
+++ b/packaging/systemd/samba.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Samba AD Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/samba.pid
+LimitNOFILE=16384
+EnvironmentFile=-/etc/sysconfig/samba
+ExecStart=/usr/sbin/samba $SAMBAOPTIONS
+
+[Install]
+WantedBy=multi-user.target