[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] starthobbit.sh
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] starthobbit.sh
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Sat, 28 May 2005 08:15:00 +0200
- References: <002301c562d5$2a75da90$6400a8c0@noip.org>
- User-agent: Mutt/1.5.6+20040907i
On Fri, May 27, 2005 at 06:00:12PM +0200, lars ebeling wrote:
> If my (and probably all others) server goes down and is rebooted, the
> hobbit doesn't start since the pidfile exists. Why not remove the the
> pidfile in the restart case in starthobbit.sh? Then in the init.d file I
> could have "starthobbit.sh -restart"
I've changed the script to actually check if the process exists, and
remove the stale PID file if it doesn't. So a "hobbit.sh start" will now
start Hobbit if at all possible.
Henrik