rikard | does someone know how to set "respawn" in upstart 0.5.0? | 10:32 |
---|---|---|
Keybuk | rikard: "respawn" :-) | 10:34 |
rikard | I know, I have tried the following: | 10:35 |
rikard | start on stopped S70motion and stopped S71iod | 10:36 |
rikard | console output | 10:36 |
rikard | respawn | 10:36 |
rikard | script | 10:36 |
rikard | exec /etc/rc3.d/S85httpd start | 10:36 |
rikard | end script | 10:36 |
rikard | but I can't get it to work? | 10:36 |
rikard | what's wrong? | 10:38 |
Keybuk | it'll respawn the init script | 10:39 |
Keybuk | not what the init script runs | 10:39 |
Keybuk | you can't combine respawn and init scripts in that way | 10:39 |
Keybuk | convert the init script into a proper upstart job instead | 10:39 |
rikard | how to do it? | 10:41 |
Keybuk | that's a complex question | 10:42 |
Keybuk | but fundamentally your script should look something like | 10:42 |
Keybuk | console output | 10:42 |
Keybuk | respawn | 10:42 |
Keybuk | exec /usr/sbin/httpd --foreground | 10:43 |
rikard | ok, thanks a lot for your help! | 10:43 |
ion | http://www.milepost.eu/ | 22:02 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!