summaryrefslogtreecommitdiff
path: root/packaging/systemd/smb.service
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/systemd/smb.service')
-rw-r--r--packaging/systemd/smb.service13
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