summaryrefslogtreecommitdiff
path: root/net-fs/samba/files/smbd.service
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-08 09:41:05 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-08 09:41:05 +0000
commit1599a8ccc4a1b872f919371403ec0434b033207b (patch)
tree3a121cb9898ddd74a02a64af00c072adc19b124b /net-fs/samba/files/smbd.service
parenta46ffc94b0acbcdfae7228e10d46197fe54d27c8 (diff)
net-fs/samba : import from portage tree, preconfigure
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