[02:03] Is there some way that i can get upstart to run a task with a certain username/userid? Or is there another tool that is better suited to that task? [02:04] My server is written in golang, and i want to sandbox it somewhat in case there are vulnerabilities in my code (or the runtime!) [02:04] crazy2be: sudo/su [02:04] exec sudo -u me bash -c "command goes here" has always been how i've done it [02:04] what happens when you run those as root? Never done that... I'll give it a try [02:05] btw, thanks for this great utility! [02:07] ubuntu is working great for my server [02:07] even if it's the desktop edition :P server edition wouldn't work with my hardware === robins is now known as robinsmidsrod [23:10] hmmmm should upstart not have a dep on dbus? [23:10] status: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory [23:12] Run the command as root [23:13] The daemon is optional. It’s only needed for non-root access. [23:13] ah [23:13] ah yes. [23:13] what should I do if i want to send a USR2 signal to a job [23:13] use a clasic init script that wraps initctl to do everything else? [23:15] Something like killed=false; eval "$(LC_ALL=C initctl status tty6 | sed -nre 's/.* process ([0-9]+).*/kill -USR2 \1; killed=true/p')" [23:16] where? (is there a better place than an init.d script? [23:17] What’s the USR2 for? If reloading config or something like that, alas, currently the signal for reload is not configurable. [23:18] kinda yeah - its to make the unicorn (ruby webserver) spawn a new master and kill the old one seamlessly [23:18] I take it Unicorn can’t be configured to do that on SIGHUP? [23:19] sighup would work if i didn't want seamless [23:19] that makes it kill all its children then start again, but doesn't workj when you load app before forking the workers [23:19] And that’s not configurable? [23:19] nope [23:21] There might be no pretty solution until the signal sent by reload becomes configurable. [23:37] k === ion_ is now known as ion