adding upstart and resque template