=== broder_ is now known as broder | ||
daguz | have I read the entire manual cover to cover? no. Am I going to ask anyway? yes. :) | 19:21 |
---|---|---|
daguz | How do I start/stop a job as user "me" without using sudo | 19:21 |
daguz | in the script I have this: exec start-stop-daemon --start -c me:me --exec /usr/local/bin/bus-node.sh | 19:21 |
daguz | i want root or me to start/stop this job and it always be run as me. | 19:22 |
stgraber | always run as me => setuid me + setgid me | 19:25 |
stgraber | root or me to start/stop => I think you'll need sudo for that or possibly some clever policykit magic | 19:26 |
daguz | i 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 |
dypsilon | Hello 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 |
SpamapS | dypsilon: upstart still runs sysvinit scripts | 20:31 |
SpamapS | dypsilon: not sure how well it works on Debian though | 20:31 |
dypsilon | SpamapS, I can't afford to migrate everything to upstart right now. | 20:32 |
SpamapS | dypsilon: nobody can, or ever will :) | 20:33 |
SpamapS | dypsilon: the idea is to migrate the things which hold back system boot speed or which need to be coordinated with those things. | 20:33 |
dypsilon | SpamapS, 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 |
dypsilon | Just reuse the scripts I already have. But I can understand if that's not possible. | 20:37 |
SpamapS | dypsilon: why? | 20:38 |
SpamapS | whats the point of upstart if it is not pid 1? | 20:38 |
dypsilon | SpamapS, it's a great plattform for controlling processes, I suppose. | 20:39 |
dypsilon | I have some scripts I want to reuse, also there are some very usefull scripts on the internet. | 20:40 |
dypsilon | Also I will be able to ease into pid 1 upstart in the future without having to introduce something like daemontools | 20:41 |
dypsilon | for the time beeing | 20:41 |
SpamapS | dypsilon: ok, I'm convinced. You'll have to code that though. ;) | 20:46 |
dypsilon | SpamapS, :) | 20:48 |
dypsilon | SpamapS, so it's not possible right now, ... thank you | 20:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!