One Quickie


Daemontools controls (Unix->General)
# svc -d /service/whatever - Bring the server down

# svc -u /service/whatever - Start the server up and leave it in keepalive mode.

# svc -o /service/whatever - Start the server up once. Do not restart it if it stops.

# svc -t /service/whatever - Stop and immediately restart the server.

# svc -k /service/whatever - Sends the server a KILL signal. This is like KILL -9. If svc -t fails to fully kill the process, use this option.

(Thanks to the OpenACS documentation)



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com