upstart base script