summarylogtreecommitdiffstats
path: root/smbd.service
diff options
context:
space:
mode:
Diffstat (limited to 'smbd.service')
-rw-r--r--smbd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/smbd.service b/smbd.service
new file mode 100644
index 000000000000..0a8125db09c5
--- /dev/null
+++ b/smbd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Samba SMB/CIFS server
+After=network.target nmbd.service winbindd.service
+
+[Service]
+Type=forking
+PIDFile=/var/run/smbd.pid
+ExecStart=/usr/bin/smbd -D
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target