daemontools



http://cr.yp.to/daemontools/faq/create.html
restart:   svc -t /service/tinydns
up:        svc -u /service/tinydns
down:      svc -d /service/tinydns

delete service:
 cd /service/test
 rm /service/test
 svc -dx . log

LOG:
lze nastavit parametry jak veliky muze byt soubor a kolik souboru zpatky udrzovat:
exec setuidgid user multilog t s1000000 n20 /var/log/program 2>&1

restart multilogu pro konkretniho daemona:
ps -ef | grep multilog
prvni cislo je pid procesu, takze
kill [pid]
druhe cislo je pid supervise logu, mozno zabit pokud napr. zustane viset po odinstalovani sluzby Tags: daemontools
Last update:
2009-11-27 10:08
Author:
Daniel
Revision:
1.92
Average rating:0 (0 Votes)

You can comment this FAQ

Chuck Norris has counted to infinity. Twice.