/srv/irclogs.ubuntu.com/2013/05/08/#upstart.txt

=== broder_ is now known as broder
daguzhave I read the entire manual cover to cover? no.  Am I going to ask anyway? yes.  :)  19:21
daguzHow do I start/stop a job as user "me"  without using sudo19:21
daguzin the script I have this:     exec start-stop-daemon --start -c me:me --exec  /usr/local/bin/bus-node.sh 19:21
daguzi want root or me to start/stop this job and it always be run as me.19:22
stgraberalways run as me => setuid me + setgid me19:25
stgraberroot or me to start/stop => I think you'll need sudo for that or possibly some clever policykit magic19:26
daguzi thought I tried it such that the sudo was called from the upstart script, such that the user could call start/stop and essentially sudo to themselves while root always has that ability...  maybe I got something else wrong..   19:30
dypsilonHello everyone. I'have bunch of upstart scripts and a debian squeeze system with system v. Is can't fully replace system v, is it possible to install upstart alongside system v and use it just for those scripts?20:22
SpamapSdypsilon: upstart still runs sysvinit scripts20:31
SpamapSdypsilon: not sure how well it works on Debian though20:31
dypsilonSpamapS, I can't afford to migrate everything to upstart right now.20:32
SpamapSdypsilon: nobody can, or ever will :)20:33
SpamapSdypsilon: the idea is to migrate the things which hold back system boot speed or which need to be coordinated with those things.20:33
dypsilonSpamapS, I don't really care about boot speed. The perfect solution for me would be to just run upstart as a system v service and alongside system v.20:36
dypsilonJust reuse the scripts I already have. But I can understand if that's not possible.20:37
SpamapSdypsilon: why?20:38
SpamapSwhats the point of upstart if it is not pid 1?20:38
dypsilonSpamapS, it's a great plattform for controlling processes, I suppose.20:39
dypsilonI have some scripts I want to reuse, also there are some very usefull scripts on the internet.20:40
dypsilonAlso I will be able to ease into pid 1 upstart in the future without having to introduce something like daemontools20:41
dypsilonfor the time beeing20:41
SpamapSdypsilon: ok, I'm convinced. You'll have to code that though. ;)20:46
dypsilonSpamapS, :)20:48
dypsilonSpamapS, so it's not possible right now, ... thank you20:48

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