Gentoo Archives: gentoo-dev

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] init.d problem
Date: Tue, 04 Jul 2006 22:48:52
Message-Id: 20060704224315.GA29384@nibiru.local
In Reply to: Re: [gentoo-dev] init.d problem by Pablo Yanez Trujillo
1 * Pablo Yanez Trujillo <yanezp@×××××××××××××××××××××××.de> schrieb:
2 > what about "/etc/init.d/ntpd zap"? It deletes the file on /var/.... and set
3 > the status of the init.d-file as not started. It is useful for such a case
4 > :)
5
6 The problem is: if the service still runs, it will attemt to start it
7 twice. So this cannot be used in automatic processes, just for manual
8 intervention.
9
10 We should think about mechanisms to check if the service is
11 actually running. This could also be used for frequently service
12 checks and notification.
13
14
15 cu
16 --
17 ---------------------------------------------------------------------
18 Enrico Weigelt == metux IT service
19
20 phone: +49 36207 519931 www: http://www.metux.de/
21 fax: +49 36207 519932 email: contact@×××××.de
22 cellphone: +49 174 7066481
23 ---------------------------------------------------------------------
24 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
25 ---------------------------------------------------------------------
26 --
27 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] init.d problem Nick Devito <nick125@×××××.com>
Re: [gentoo-dev] init.d problem Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] init.d problem Pablo Yanez Trujillo <yanezp@×××××××××××××××××××××××.de>