Re: howto: write a init script



On Thu, 2008-07-31 at 11:44 -0400, Dave Feustel wrote:
On Thu, Jul 31, 2008 at 10:55:09AM -0500, Aaron Konstam wrote:
On Thu, 2008-07-31 at 14:05 +0200, Christoph Höger wrote:
Hi,

is there some documentation out there about how to write a init script
for fedora9 for a given binary?
Maybe even a "insert your binary here"-tempate?

regards

christoph


Do you mean a /etc/init.d script. It is pretty straightforward if you
look at one of then. Pick a short one. The thing that makes it special
is the
# chkconfig: 2345 55 25
type line at the beginning which controls the levels at which the script
is called and the order it is started and killed.

In this case it is started at level 2345 and 55 is the order of starting
and 25 the order of being killed.
--

Is there an init script for privoxy?

Thanks.

No.
--
=======================================================================
The economy depends about as much on economists as the weather does on
weather forecasters. -- Jean-Paul Kauffmann
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: howto: write a init script
    ... Am Donnerstag, den 31.07.2008, 13:19 +0100 schrieb Chris G: ... is there some documentation out there about how to write a init script ... for fedora9 for a given binary? ... need an "init script", they just run. ...
    (Fedora)
  • Re: howto: write a init script
    ... is there some documentation out there about how to write a init script ... for fedora9 for a given binary? ...
    (Fedora)
  • Re: howto: write a init script
    ... is there some documentation out there about how to write a init script ... for fedora9 for a given binary? ... need an "init script", they just run. ... Or am I musinderstanding you completely? ...
    (Fedora)
  • Re: howto: write a init script
    ... is there some documentation out there about how to write a init script ... for fedora9 for a given binary? ... need an "init script", they just run. ... Yes, you do;), I need the binary to start when the machine boots up. ...
    (Fedora)