RE: ejabberd

From: James Powell <james4591_at_hotmail.com>
Date: Fri, 26 Sep 2014 02:41:54 +0000

Pause is not included with any toolkit, but you can get the pause.c code we use here:

https://code.google.com/p/runit-for-lfs/

You can grab 1.0rc1 and run make in the lfs-servicescripts directory and copy it over:

cd runit-for-lfs/lfs-servicescripts
make
cp -v pause /usr/bin

The logging script should working once the daemon starts and goes into holding mode with pause. As long as the daemon itself is in the execution phase the log should remain running.

Just make sure you use chmod +x on the run and finish scripts as such:

chmod +x /etc/sv/ejabberd/*
chmod +x /etc/sv/ejabberd/log/*

-Jim

> Date: Fri, 26 Sep 2014 05:22:58 +0300
> From: powerman_at_powerman.name
> To: james4591_at_hotmail.com
> Subject: Re: ejabberd
>
> Hi!
>
> On Thu, Sep 25, 2014 at 07:02:03PM -0700, James Powell wrote:
> > You may need a utility like runit-for-lfs uses cause pause. Pause stops
> > the execution process until the termination signal is given.
>
> Yeah, good idea. With pause these ./run and ./finish should work.
> I don't see pause tool in Gentoo, but I think bash's `wait` command
> probably will work in same way.
>
> But, still, issue with log files doesn't solved. :(
>
> --
> WBR, Alex.
                                               
Received on Fri Sep 26 2014 - 02:41:54 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC