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
