pipe-tools
Software
www.skarnet.org

The npt-svc program

npt-svc sends control commands to services monitored by npt-supervise, supervise or runsv. It is an enhanced version of the svc command.

Interface

     npt-svc -bytes servicedir...

Control

The recognized options in bytes are the following:
u
Up.
d
Down.
o
Once.
t
Terminate (SIGTERM).
p
Pause (SIGSTOP).
c
Continue (SIGCONT).
a
Alarm (SIGALRM).
b
Abort (SIGABRT). Unrecognized by supervise and runsv.
q
Quit (SIGQUIT). Unrecognized by supervise and runsv.
h
Hangup (SIGHUP).
i
Interrupt (SIGINT).
k
Kill (SIGKILL).
1
User-defined 1 (SIGUSR1) Unrecognized by supervise.
2
User-defined 2 (SIGUSR2). Unrecognized by supervise.
f
Enable finish. Unrecognized by supervise and runsv.
F
Disable finish. Unrecognized by supervise and runsv.
x
Exit.