1 |
* Roy Marples <uberlord@g.o> schrieb: |
2 |
|
3 |
<snip> |
4 |
|
5 |
> However, with baselayout-1.12 we intercept calls to start-stop-daemon |
6 |
> and store information about what was started (binary, pidfile) so |
7 |
> when root then does "/etc/init.d/foo status" we check to see if all |
8 |
> the binaries are still running. If not then we do an "/etc/init.d/foo stop" |
9 |
> behind the scenes. |
10 |
|
11 |
Sounds good to me. So an regular "<init-scipt> status" (ie. via cron) |
12 |
will fix the stuff. Maybe status && start would be suited for bringing |
13 |
up died services automatically, if it always gives proper exit codes. |
14 |
|
15 |
When will it the new baselayout be ready ? |
16 |
|
17 |
> But some init scripts don't use start-stop-daemon, like sshd. |
18 |
> These scripts will need to be re-working around start-stop-daemon. |
19 |
|
20 |
Okay. I could add a low-priority bug to all packages running at my |
21 |
site not yet using start-stop-daemon and maybe submit an patch. |
22 |
|
23 |
|
24 |
cu |
25 |
-- |
26 |
--------------------------------------------------------------------- |
27 |
Enrico Weigelt == metux IT service |
28 |
|
29 |
phone: +49 36207 519931 www: http://www.metux.de/ |
30 |
fax: +49 36207 519932 email: contact@×××××.de |
31 |
cellphone: +49 174 7066481 |
32 |
--------------------------------------------------------------------- |
33 |
-- |
34 |
gentoo-dev@g.o mailing list |