Daemontools Cheatsheet

Installing daemontools

Setup pipenv:

$ sudo dnf install daemontools   # Fedora installation
$ sudo brew install daemontools  # MacOS  installation

Useful Links

Common commands

$ sudo svstat /service/netsnmpd
$ sudo svc -d /service/netsnmpd # terminate and leave down
$ sudo svc -u /service/netsnmpd # bring-up (down service)
$ sudo svc -t /service/netsnmpd # terminate and immediate restart
$ sudo svc -h /service/netsnmpd # send HUP signal
$ sudo svc -o /service/netsnmpd # run service once

What is managed by Daemontools

$ ls -al /service/netsnmpd/
netsnmpd -> /home/y/var/daemontools/netsnmpd