robinsmidsrod | are there any plans to allow upstart to start specific jobs as a specific user? | 13:43 |
---|---|---|
ion | yes | 13:44 |
robinsmidsrod | having to use "su" to switch user and then running the command keeps a lot of su processes running, and the pid reported by upstart is actually the su process instead of the actual app | 13:45 |
ion | yep | 13:45 |
ashb | robinsmidsrod: sudo instead of su might work slightly better, no? | 13:49 |
warly | Hello, I have a simple question regarding writing upstart command. I would like to have a script run when entering runlevel 4, and run again when quitting runlevel 4, is there a way to do that with upstart ? | 13:55 |
ashb | stats on runlevel[4] | 13:57 |
ashb | or similar | 13:57 |
warly | stats ? | 13:59 |
warly | You may mean start. Actually starting the script on entering runlevel 4 is ok, but I cannot really manage to have it run again when leaving runlevel 4 | 14:00 |
ion | start on runlevel 4 | 14:01 |
ion | stop on runlevel [!4] | 14:02 |
ion | post-start exec yourthing | 14:02 |
ion | pre-stop exec yourthing | 14:02 |
warly | ion: thanks I will try that! | 14:03 |
ion | Actually, maybe make that pre-start and post-stop. | 14:03 |
=== Stevee_ is now known as Stevee | ||
fancybit | hi | 16:01 |
fancybit | my ubuntu don't have the /etc/inittab file, so where should I start my reading of the script? | 16:01 |
fancybit | I browsed the web of upstart, seems no manual but only blueprints | 16:04 |
fancybit | That's the only way to study? | 16:04 |
fancybit | ... | 16:04 |
warly | fancybit: have you looked at http://upstart.ubuntu.com/wiki/ ? | 16:05 |
fancybit | yes | 16:55 |
salman | Hi. I'm trying to find some documentation on how to implement the equivalent of kb::kbrequest in an upstart script... could someone link me to the docs? | 17:40 |
salman | tried a wiki search but nothing turned up | 17:40 |
=== Stevee_ is now known as Stevee |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!