[Box Backup] Running daemons in foreground

Ben Summers boxbackup@fluffy.co.uk
Mon, 31 Oct 2005 07:57:11 +0000


On 31 Oct 2005, at 06:26, Scott McNee wrote:

>
> Is it possible to run the daemon's in the foreground ?
> Ie. Bbackupd and bbstored
>
> I am investigating the use of daemontools as a method to ensure  
> that the
> process is running. They suggest that all process should be run in the
> foreground enabling tighter control by daemontools utils.
>
> Any help would be appreciated.

There's an undocumented option (for all daemons)

     bbackupd /path/to/bbackupd.conf SINGLEPROCESS

which may do what you want.

Ben