/srv/irclogs.ubuntu.com/2012/06/27/#upstart.txt

xnoxhttp://paste.ubuntu.com/1062218/08:35
xnoxcan we please make upstart through warnings if start-stop-daemon is used in the upstart job08:46
SpamapSxnox: we recommend start-stop-daemon for switching users, so I don't think that would make much sense. ;)13:02
xnoxSpamapS: yeah, especially in the ubuntu package, in the archive!13:02
SpamapSxnox: whats wrong with that job?13:02
xnoxSpamapS: nothing wrong, it's just not upstartish13:03
SpamapSif you need to run pre-start's as root, you can't use setuid/setgid13:03
SpamapSyou have to have something to switch user ids13:03
SpamapSI'm kind of surprised mongod doesn't have a --user argument tho13:04
xnoxok13:05
SpamapSxnox: http://upstart.ubuntu.com/cookbook/#changing-user13:06
wavdeddoes upstart make sure a process is terminated?  seems there are cases when it lingers around, wondering how to tune it18:19
annathHey all, I have a wierd issue with a small service I've written using python. I'm using upstart to run it as a service. When the script runs as an upstart service, any calls to time functions (localtime, strftime, etc) come back in GMT. This doesn't happen if I just run the script on its own. Is there any way to fix this? I can't find anything on google relating to upstart and time.18:43

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