
How to start a service with deamontools' svc command.
I am assuming that the usual /service directory exists and
all commands below are issued there!
To start up qmail-smtpd for example:
$cd /service
$svc -u qmail-smtpd
To check the service was brought up sucessfuly issue:
$svstat qmail-smtpd
qmail-smtpd: up (pid 1073) 6568 seconds
To stop a service, issue:
$svc -d qmail-smtpd
check if it is indeed down:
$svstat qmail-smtpd
I like to check all my services at once with a wildcard:
$svstat *
imaps: up (pid 1071) 6603 seconds
qmail-send: up (pid 1077) 6602 seconds
qmail-smtpd: up (pid 1073) 6603 seconds
© 2010–2011 Crumpeta Consulting LLC.