summaryrefslogtreecommitdiff
path: root/packaging/systemd/nmb.service
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/systemd/nmb.service')
-rw-r--r--packaging/systemd/nmb.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/systemd/nmb.service b/packaging/systemd/nmb.service
new file mode 100644
index 0000000000..a2ecd22d59
--- /dev/null
+++ b/packaging/systemd/nmb.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Samba NMB Daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/nmbd.pid
+EnvironmentFile=-/etc/sysconfig/samba
+ExecStart=/usr/sbin/nmbd $NMBDOPTIONS
+
+[Install]
+WantedBy=multi-user.target