
start on stopped finish

# Stop when the Software Update tool is about to install an update.  The tool
# uses upstart to restart jobs when the installation is complete.

stop on started start_update

respawn

pre-start script
	mkdir /var/luna/data/extractfs -p
end script

post-stop script
	umount /var/luna/data/extractfs 
	rmdir /var/luna/data/extractfs
end script

exec /usr/bin/extractfs -f /var/luna/data/extractfs

