[06:28] <threeminutemonta> I'm attempting to use upstart to do the followingexec sudo -u www-data "cd /var/www/test_xxx/ && /var/www/venv34/bin/rq worker" though it doesn't seem to keep running. 
[08:22] <corentin> threeminutemonta: have you configured sudo without a password?
[08:22] <corentin> threeminutemonta: oh but sudo needs a valid binary to execute, try: sudo -u www-data sh -c "cd /var/www/test_xxx/ && /var/www/venv34/bin/rq worker"
[08:23] <corentin> or aleternatively you could create a script containing your commands, and execute that script using sudo