summaryrefslogtreecommitdiff
path: root/debian/samba.smbd.upstart
blob: 6186307a0501d79d204bc1d5affeac4b51b8ef31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
description "SMB/CIFS File Server"
author      "Steve Langasek <steve.langasek@ubuntu.com>"

start on (local-filesystems and net-device-up)
stop on runlevel [!2345]

respawn

pre-start script
	[ -r /etc/default/samba ] && . /etc/default/samba

	install -o root -g root -m 755 -d /var/run/samba
end script

exec smbd -F