Re: howto: write a init script
- From: Chris G <cl@xxxxxxxx>
- Date: Thu, 31 Jul 2008 13:56:34 +0100
On Thu, Jul 31, 2008 at 02:31:06PM +0200, Christoph Höger wrote:
Am Donnerstag, den 31.07.2008, 13:19 +0100 schrieb Chris G:
On Thu, Jul 31, 2008 at 02:05:39PM +0200, Christoph Höger wrote:
Hi,Most "binaries" (if by that you mean executable programs) don't really
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?
need an "init script", they just run. Enter the executable name on
the command line and the program springs into life.
Or am I musinderstanding you completely? :-)
--
Chris Green
Yes, you do ;) , I need the binary to start when the machine boots up.
In that case you just add the line to run it (i.e. the name of the
executable, possibly with its full path) to /etc/rc.d/rc.local.
That's exactly what rc.local is for.
If you want the whole 'start x' 'stop x' thing then just copy one of
the existing init scripts (as suggested by someone else).
--
Chris Green
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- howto: write a init script
- From: Christoph Höger
- Re: howto: write a init script
- From: Chris G
- Re: howto: write a init script
- From: Christoph Höger
- howto: write a init script
- Prev by Date: Re: vim syntax highlight F9
- Next by Date: Re: vim syntax highlight F9
- Previous by thread: Re: howto: write a init script
- Next by thread: Re: howto: write a init script
- Index(es):
Relevant Pages
|