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. | 06:28 |
---|---|---|
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:22 |
corentin | or 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!