Hi all,

In presenting Daemontools as an alternative to a huge chunk of systemd,
I politicized Daemontools. So let me say this...

Regardless of *which* init system you use, many daemons are easy and
logical to daemonize and control using Daemontools. The shellscripts
you write to run Daemontools managed daemons are usually less than 10
lines of very simple commands. Daemontools "just works".

Other daemon management systems (and inits) might be easier if you
accept what your distro gives you, but Daemontools gives you complete
and absolute control of every facet. It's trivial.

I liken Daemontools to my first car, a 1959 Plymouth with a flathead 6
engine, in an engine compartment so small you could climb in it with
the engine. A tuneup was a 20 minute affair using an adjustable wrench,
a pliers, and a gapping tool. If your manual transmission got stuck,
you reached down into the linkage and pulled it out of lockup.
Replacing the gas tank was a trip to the junkyard, crawling under your
car, and loosening a few bolts.

I see modern init systems as more like modern cars. The dashboard
lights up if the tires are low. There are places to insert oil and
other fluids. You don't have to change your coolant for 100K miles
(supposedly), and you seldom need tuneups. But if work needs to be done
that doesn't involve interfaces brought out to the driver, the driver
will need to acquire extensive tools and knowledge to deal with it.

Daemontools is also very easy to install without a package manager, and
it depends on very little. This means that as you transition from init
to upstart to systemd to the next great thing, you can keep your
Daemontools stuff exactly as you have for years.

I just finished my littcrond cron substitute. It's 300 lines of Python
launched and managed by Daemontools. Is it as good, secure, or
full-featured as the other cron programs? Heck no. But when it
surprises, as cron programs often do, it's pretty easy to troubleshoot
300 lines of Python and a Daemontools service. And if I want a new or
changed feature, I just put it in.

If you haven't checked out Daemontools, look into it. You just might
like it.

SteveT

Steve Litt                *  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140917194405.59aae...@mydesq2.domain.cxm

Reply via email to