Daemontools
Updated: 11/07/2005
General Information
Requirements
You will need the following items to be able to complete this guide:Compiling
This is where your up-to-date ports come in handy.|
# # |
cd /usr/ports/sysutils/daemontools make install |
Setting up daemontools
There is not much to do. Create a directory, and then we also need to add an entry to/etc/rc.conf to tell it that we want to start svscan as the master process is called upon booting.|
# # |
mkdir /var/service echo 'svscan_enable="YES"' >> /etc/rc.conf |
Starting svscan
There are two ways that you can start svnscan. Reboot your system, or execute its rc file.| # | /usr/local/etc/rc.d/svscan.sh start |
| # | ps auxwwww | grep svscan |
/usr/local/bin/svscan running. Congratulations, you successfully got daemontools running.This guide is © 2005 - 2008 Bert JW Regeer.
Author: Bert JW Regeer
bsdguides at 0x58 dot com