ectospasm | so, I rebooted and neither of my upstart jobs started. One I forgot to modify (it had both "start on startup" and "start on runlevel [2345]"), but the other just had "start on runlevel [2345]". I'm using Ubuntu 10.10. | 04:55 |
---|---|---|
ivoks | ectospasm: is 'start your_upstart_job' working? | 07:52 |
ectospasm | ivoks: for one, yes | 07:53 |
ivoks | the second one? | 07:54 |
ivoks | that had only 'start on runlevel [2345]'? | 07:54 |
ectospasm | yep | 07:56 |
ectospasm | It's like I haven't run update-rc.d (if upstart has an equivalent) | 07:57 |
ivoks | so... | 08:05 |
ivoks | you do know what 'start on runlevel [2345]' means? | 08:06 |
ivoks | are you sure you want to start at that point? | 08:06 |
ectospasm | I want the service to start whenever the system starts in multi-user mode, which I assume is [2345] | 08:07 |
ivoks | maybe you'd rather want to start when you have filesystems | 08:07 |
ectospasm | maybe so | 08:08 |
ivoks | or network | 08:08 |
ectospasm | both, actually | 08:08 |
ectospasm | Maybe upstart is trying to start it too soon? | 08:08 |
ivoks | well, you told it to :) | 08:08 |
ectospasm | I'm beginning to realize that now. | 08:08 |
ivoks | take a look at ssh | 08:08 |
ivoks | 'start on filesystem' | 08:08 |
ivoks | you are starting your service at the same time as ttys :) | 08:09 |
ectospasm | OK, I need network, is there the equivalent of "start on network"? | 08:09 |
ivoks | yes | 08:09 |
ivoks | start on (startup | 08:10 |
ivoks | and filesystem | 08:10 |
ivoks | and started networking) | 08:10 |
ectospasm | hmmmm | 08:10 |
ectospasm | If this is in the available documentation I totally missed it. | 08:11 |
ivoks | don't tell anyone, but upstart is a secret project :) | 08:11 |
ivoks | there's no documentation :) | 08:11 |
ectospasm | I did notice how a lot has been deprecated in an old version already (-; | 08:12 |
ivoks | start on filesystem | 08:14 |
ivoks | that should be enough, if the service is listening on 0.0.0.0 | 08:15 |
ivoks | if that doesn't work, you can make it start on started networking | 08:16 |
ectospasm | ivoks: not that easy | 08:16 |
ivoks | no? | 08:16 |
ectospasm | it's essentially a headless VM running in a screen session | 08:16 |
ivoks | eh :) | 08:16 |
ivoks | have fun :) | 08:16 |
ectospasm | it otherwise works. | 08:16 |
ectospasm | I was looking for a way to start a service without all the cruft the debian init.d system requires | 08:17 |
ectospasm | and rc.local just felt wrong | 08:17 |
ivoks | and too easy? :) | 08:17 |
ectospasm | ivoks: too hacky (-; | 08:24 |
rehch011 | hello can someone tell me where i can find the upstart script directory in ubuntu 10.10 | 08:43 |
ectospasm | rehch011: /etc/init/ | 08:45 |
rehch011 | thx | 08:49 |
rehch011 | how is it possible to change the runlevel with ubuntu 10.10 resp. upstart?# | 13:13 |
rehch011 | kann jemand von euch einen vergleich zwischen upstart und sysvinit aufstellen? | 14:04 |
rehch011 | can any of you set up a comparison between the upstart and sysvinit? | 14:04 |
mbiebl | rehch011: you need to ask more targetted questions | 14:05 |
rehch011 | How, for example, the runlevels managed. | 14:14 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!