Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
supervisorctl like wrapper around svstat and svc from daemontools
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.rst
daemonstoolsctl

README.rst

daemontoolsctl

daemontoolsctl is a wrapper around daemontools.

Example Session

I have svscan running on 3 dummy services in /tmp/procs.

On startup, daemonstoolsctl automatically runs svstat:

justin@latitude:~$ daemonstoolsctl /tmp/procs/
/tmp/procs/app3: up (pid 23269) 23 seconds
/tmp/procs/program2: up (pid 23234) 44 seconds
/tmp/procs/program1: up (pid 23226) 48 seconds
daemontoolsctl> help

Documented commands (type help <topic>):
========================================
alarm     down    interrupt  once   restart  status  terminate
continue  hangup  kill       pause  start    stop    up

Undocumented commands:
======================
EOF  help

daemontoolsctl>

All commands support tab completion and globbing:

daemontoolsctl> stop program [TAB]
program1  program2
daemontoolsctl> stop program*
sending stop to program2
sending stop to program1
/tmp/procs/program2: down 0 seconds, normally up
/tmp/procs/program1: down 0 seconds, normally up
daemontoolsctl>
Something went wrong with that request. Please try again.