Changes

Jump to navigation Jump to search
m
Line 104: Line 104:     
===Adding a supervised service===
 
===Adding a supervised service===
See http://thedjbway.org/daemontools.html
+
See http://cr.yp.to/daemontools.html
    
Check your application has a -d option or similar which means that it stays in the foreground, and logs to standard output rather than syslog. That makes it suitable for running as a supervised service.  
 
Check your application has a -d option or similar which means that it stays in the foreground, and logs to standard output rather than syslog. That makes it suitable for running as a supervised service.  
Line 126: Line 126:  
  chown smelog.smelog /var/log/XXX
 
  chown smelog.smelog /var/log/XXX
 
  ln -s /var/service/XXX /service
 
  ln -s /var/service/XXX /service
 +
touch /var/service/XXX/down
    
</div></div></div>
 
</div></div></div>

Navigation menu