[gentoo-user] Init script strangeness.

2005-11-21 Thread Anthony Roy
Hi all, I have written a simple init script for controlling a wiki, and have encountered a strange effect: from the init.d directory, I can start and stop my app just fine with wiki start and wiki stop resp. However, the stop script complains that the script has not been started! rc-status does

Re: [gentoo-user] Init script strangeness.

2005-11-21 Thread Neil Bothwick
On Mon, 21 Nov 2005 14:11:09 +, Anthony Roy wrote: I have written a simple init script for controlling a wiki, and have encountered a strange effect: You don't appear to have #!/sbin/runscript on the first line. -- Neil Bothwick ... I just forgot to increment the counter, Tom said,

Re: [gentoo-user] Init script strangeness.

2005-11-21 Thread Anthony Roy
Thanks for the quick reply, but #!/sbin/runscript is the first line - it must have scrolled just off of the screen when I copied the text (sorry!). You don't appear to have #!/sbin/runscript on the first line. Any other ideas. -- Ant... -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Init script strangeness.

2005-11-21 Thread Richard Fish
On 11/21/05, Anthony Roy [EMAIL PROTECTED] wrote: Thanks for the quick reply, but #!/sbin/runscript is the first line - it must have scrolled just off of the screen when I copied the text (sorry!). There are 2 conditions required for the start-stop-daemon to successfully stop the service: 1.