Permission issues fixed by using sudo in upstart script.