Fedora 9 deamontools

View: New views
1 Messages — Rating Filter:   Alert me  

Fedora 9 deamontools

by Jason Staudenmayer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fedora 9 has changed from sysinit to upstart.
Just for the archives, here's how to get it started.

Quote from <http://fxp0.org.ua/2006/oct/28/upstart-and-daemontools-ubuntu-edgy-eft/>

So everything looked ok after reboot, though later i found that svscanboot daemon from daemontools package is no longer running (and all services, which supposed to be run under it, too). The reason of this was the way it's configured in Ubuntu. Not sure how it is done in Debian now, but IIRC it was done via rc?.d scripts. In Ubuntu, installer added this line to inittab:

SV:123456:respawn:/command/svscanboot

The problem is that such thing does not work with upstart. Jobs for Upstart can be configured in /etc/event.d. I Added small script into this directory to start svscanboot daemon at boot time:

# svscanboot

start on runlevel-2
start on runlevel-3
start on runlevel-4
start on runlevel-5

stop on shutdown

respawn /command/svscanboot

After this it is only required to start it:

$ sudo initctl start svscanboot
svscanboot (start) running, process 5595 active


Jason



..·><((((º>