summaryrefslogtreecommitdiff
path: root/smbd.service
blob: 75ddfe5a02bfeece33c6ef32f7509fdc8c6c4c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright 2010-2011 Wulf C. Krueger <philantrop@exherbo.org>
# Distributed under the terms of the GNU General Public License v2

[Unit]
Description=smbd server
Before=samba.target

[Service]
Environment=TMP=""
ExecStartPre=-/bin/mkdir -p /var/run/samba
ExecStart=/usr/sbin/smbd -F
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target