Difference between revisions of "Help on daemontools"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
== Monitoring ==
 
== Monitoring ==
  
You can get some info off
+
Get the status of, say, a 'yarprun' service with:
 +
 
 +
sudo svstat /etc/service/yarprun
 +
 
 +
 
 +
You can get some log messages for debugging with:
  
 
  ps aux | grep readproctitle
 
  ps aux | grep readproctitle

Revision as of 12:33, 10 February 2015

Install on Ubuntu

sudo apt-get install daemontools daemontools-run csh

"daemontools" can be activated in "/etc/rc.local" through the line (before exit):

/bin/csh -cf '/usr/bin/svscanboot &'

Monitoring

Get the status of, say, a 'yarprun' service with:

sudo svstat /etc/service/yarprun


You can get some log messages for debugging with:

ps aux | grep readproctitle

help (link 1)

help (link 2)