summaryrefslogtreecommitdiff
path: root/net-fs/samba/files/smbd.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/samba/files/smbd.service')
-rw-r--r--net-fs/samba/files/smbd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-fs/samba/files/smbd.service b/net-fs/samba/files/smbd.service
new file mode 100644
index 00000000..5c006a44
--- /dev/null
+++ b/net-fs/samba/files/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/samba/smbd.pid
+ExecStart=/usr/sbin/smbd -D
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target