Fix log dir permissions and upstart exec