aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/smbdat.service
diff options
context:
space:
mode:
Diffstat (limited to 'clfs/units/smbdat.service')
-rw-r--r--clfs/units/smbdat.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/clfs/units/smbdat.service b/clfs/units/smbdat.service
new file mode 100644
index 0000000..4b9ab62
--- /dev/null
+++ b/clfs/units/smbdat.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Samba SMB/CIFS server instance
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/default/samba
+PIDFile=/run/samba/smbd.pid
+ExecStart=/usr/sbin/smbd -F $SMBD_OPTS
+ExecReload=/bin/kill -HUP $MAINPID
+StandardInput=socket