Difference between revisions of "Help on daemontools"
Jump to navigation
Jump to search
Jgvictores (talk | contribs) |
Jgvictores (talk | contribs) |
||
Line 9: | Line 9: | ||
== Monitoring == | == Monitoring == | ||
− | Get the status of, say, a 'yarprun' service with: | + | Get the status of, say, a '/etc/service/yarprun' service with: |
sudo svstat /etc/service/yarprun | sudo svstat /etc/service/yarprun | ||
+ | Stop the service with: | ||
+ | |||
+ | sudo svc -d /etc/service/yarprun | ||
+ | |||
+ | Start the service with: | ||
+ | |||
+ | sudo svc -u /etc/service/yarprun | ||
You can get some log messages for debugging with: | You can get some log messages for debugging with: |
Revision as of 11:36, 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 '/etc/service/yarprun' service with:
sudo svstat /etc/service/yarprun
Stop the service with:
sudo svc -d /etc/service/yarprun
Start the service with:
sudo svc -u /etc/service/yarprun
You can get some log messages for debugging with:
ps aux | grep readproctitle