Re: Help With rc.d Script -- SOLVED

2009-06-11 Thread Paul Schmehl
--On Thursday, June 11, 2009 08:45:59 -0500 Drew Tomlinson wrote: The problem here is that urchinctl does not write a pid file by default and I can't figure out how to make it do so. However in reading man rc.subr, I found argument_cmd that works for me. By setting argument_cmd, I can override

Re: Help With rc.d Script -- SOLVED

2009-06-11 Thread Mel Flynn
On Thursday 11 June 2009 05:45:59 Drew Tomlinson wrote: > Paul Schmehl wrote: > > --On June 10, 2009 7:09:17 PM -0700 Drew Tomlinson > > > > wrote: > All I want to do is create a script within the rc.d framework that > runs > "/usr/local/urchin/bin/urchinctl start" when the system b

Re: Help With rc.d Script -- SOLVED

2009-06-11 Thread Drew Tomlinson
Paul Schmehl wrote: --On June 10, 2009 7:09:17 PM -0700 Drew Tomlinson wrote: All I want to do is create a script within the rc.d framework that runs "/usr/local/urchin/bin/urchinctl start" when the system boots and "/usr/local/urchin/bin/urchinctl stop" when the system shuts down. Followin

Re: Help With rc.d Script

2009-06-10 Thread Paul Schmehl
--On June 10, 2009 7:09:17 PM -0700 Drew Tomlinson wrote: All I want to do is create a script within the rc.d framework that runs "/usr/local/urchin/bin/urchinctl start" when the system boots and "/usr/local/urchin/bin/urchinctl stop" when the system shuts down. Following the examples in the g

Re: Help With rc.d Script

2009-06-10 Thread Tim Judd
since the rc.d scripts (as much as lots of other scripts in BSD are..) are borne shell scripts, can't 'set -x' be in the script to show the flow of it running??? That's what I'd try first. --Tim On 6/10/09, Drew Tomlinson wrote: > I installed a software named "urchin" on my FBSD 7.2 box. > Unfo

Re: Help With rc.d Script

2009-06-10 Thread Drew Tomlinson
Paul Schmehl wrote: --On June 10, 2009 6:12:23 PM -0700 Drew Tomlinson wrote: I installed a software named "urchin" on my FBSD 7.2 box. Unfortunately, it didn't come with an rc.d script to automate startup and shutdown. And even more unfortunately, I can't seem to get my head around the conc

Re: Help With rc.d Script

2009-06-10 Thread Drew Tomlinson
Mel Flynn wrote: On Wednesday 10 June 2009 17:12:23 Drew Tomlinson wrote: I installed a software named "urchin" on my FBSD 7.2 box. Unfortunately, it didn't come with an rc.d script to automate startup and shutdown. And even more unfortunately, I can't seem to get my head around the concepts

Re: Help With rc.d Script

2009-06-10 Thread Paul Schmehl
--On June 10, 2009 6:12:23 PM -0700 Drew Tomlinson wrote: I installed a software named "urchin" on my FBSD 7.2 box. Unfortunately, it didn't come with an rc.d script to automate startup and shutdown. And even more unfortunately, I can't seem to get my head around the concepts in "Practical rc

Re: Help With rc.d Script

2009-06-10 Thread Mel Flynn
On Wednesday 10 June 2009 17:12:23 Drew Tomlinson wrote: > I installed a software named "urchin" on my FBSD 7.2 box. > Unfortunately, it didn't come with an rc.d script to automate startup > and shutdown. And even more unfortunately, I can't seem to get my head > around the concepts in "Practical