Andrew Walrond
10/25/2003 10:20:00 PM
With bitkeeper, just do
bk clone bk://ftp.rubyx.org/rubyx
cd rubyx
bk co
It will only take 30secs - honest! The rubyx system consists only of three
small scripts.
The file you want is 'init', but you'll also need to copy strfile.rb to your
site_ruby directory
It is installed by copying it to sbin and then setting up some symbolic links:
ln -sf init shutdown
ln -sf init reboot
ln -sf init die
ln -sf init start
ln -sf init stop
ln -sf init restart
ln -sf init reload
The one small script does everything ;)
There are no runlevels as with conventional init systems; Just a set of
services which are associated with want and need attributes.
For example, the command
restart network
would stop all services in the dependancy tree above the network service in
top down order, then restart them all from the bottom up.
All actions are logged, and all daemons are monitored and restarted incase
they die.
But...
It's very rubyx oriented. It will take some major surgery to make it work with
debian/lunar or whatever
Andrew Walrond