FIx: query daemon fails on start; upstart script was fixed