YAPC::NA 2014 • Orlando, FL

Simplifying Perl daemons

By Michael Conrad (‎nerdvana‎) from Cincinnati.pm
Lightning talk
Target audience: Beginner
Language: English
Tags: daemon process runit supervision

You can find more information on the speaker's site:


The traditional approach to writing a daemon involves forking twice, closing input/output handles, chdir(), writing a pid file, becoming session leader, using syslog, and a lot of other nonsense.

In a mere 5 minutes I will show how you can remove all that from your script, and gain overall reliability by using a simple process-supervisor tool like Runit.

Attended by: