diff options
author | Andreas Schneider <asn@samba.org> | 2011-10-27 17:11:19 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-10-28 11:34:27 +0200 |
commit | 7d7ba3ba40895090d9bd791f210f89c5d5d2582e (patch) | |
tree | 7b7811e7ff0dd925a5f6842cc8b945564a369c8c /packaging/systemd/smb.service | |
parent | 6c07505b15e3822cf5fe09b0e32794b6abecbeeb (diff) | |
download | samba-7d7ba3ba40895090d9bd791f210f89c5d5d2582e.tar.gz samba-7d7ba3ba40895090d9bd791f210f89c5d5d2582e.tar.bz2 samba-7d7ba3ba40895090d9bd791f210f89c5d5d2582e.zip |
Add systemd service files.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Fri Oct 28 11:34:27 CEST 2011 on sn-devel-104
Diffstat (limited to 'packaging/systemd/smb.service')
-rw-r--r-- | packaging/systemd/smb.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/systemd/smb.service b/packaging/systemd/smb.service new file mode 100644 index 0000000000..7d765db83c --- /dev/null +++ b/packaging/systemd/smb.service @@ -0,0 +1,13 @@ +[Unit] +Description=Samba SMB Daemon +After=syslog.target network.target + +[Service] +Type=forking +PIDFile=/run/smbd.pid +LimitNOFILE=16384 +EnvironmentFile=-/etc/sysconfig/samba +ExecStart=/usr/sbin/smbd $SMBDOPTIONS + +[Install] +WantedBy=multi-user.target |