/srv/irclogs.ubuntu.com/2016/04/05/#upstart.txt

threeminutemontaI'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. 06:28
corentinthreeminutemonta: have you configured sudo without a password?08:22
corentinthreeminutemonta: 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:22
corentinor aleternatively you could create a script containing your commands, and execute that script using sudo 08:23
=== kierank_ is now known as kierank

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!