Add systemd service files.
[ira/wip.git] / packaging / systemd / nmb.service
diff --git a/packaging/systemd/nmb.service b/packaging/systemd/nmb.service
new file mode 100644 (file)
index 0000000..a2ecd22
--- /dev/null
@@ -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