1 |
/etc/init.d/servicename zap |
2 |
|
3 |
On Sat, 2003-01-18 at 12:52, Andy Arbon wrote: |
4 |
> -----BEGIN PGP SIGNED MESSAGE----- |
5 |
> Hash: SHA1 |
6 |
> |
7 |
> Hello, |
8 |
> |
9 |
> I'd like to mention a problem that I see occasionally and see if anyone |
10 |
> else considers it annoying enough to have fixed somehow. |
11 |
> |
12 |
> The problem is that services can't be stopped (via /etc/init.d/* ) if |
13 |
> the process they started has died since the init script started it. |
14 |
> |
15 |
> Presumably the scripts try to terminate the process, find that it's not |
16 |
> there anymore and exit with an error, but this means that there is no |
17 |
> way (aside from starting a process with the correct name then letting |
18 |
> the script kill it) to start the service again until the system |
19 |
> restarts, which proves very annoying if you're doing anything which |
20 |
> causes services to die frequently (in my case I'm playing with the |
21 |
> lircd, which is a little flaky sometimes). |
22 |
> |
23 |
> Is there anything that can be done about this? If the script tries to |
24 |
> stop a service and finds the process has died then it probably should |
25 |
> report an error, but I think it should also register that the service |
26 |
> has stopped so that it can be restarted. |
27 |
> |
28 |
> Cheers, |
29 |
> |
30 |
> Andy |
31 |
> |
32 |
> |
33 |
> |
34 |
> -----BEGIN PGP SIGNATURE----- |
35 |
> Version: GnuPG v1.2.1 (GNU/Linux) |
36 |
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
37 |
> |
38 |
> iD8DBQE+KZRqX3TTUvZURBERAu1/AKCOJ34Hz/aeL/piAOd2lOgPJSnnhgCfcogr |
39 |
> 0D28blwIFmGEHKU+SfRs6O4= |
40 |
> =5djP |
41 |
> -----END PGP SIGNATURE----- |
42 |
> |
43 |
> |
44 |
> -- |
45 |
> gentoo-dev@g.o mailing list |
46 |
-- |
47 |
Caleb Shay <caleb@××××××××.com> |
48 |
|
49 |
|
50 |
-- |
51 |
gentoo-dev@g.o mailing list |