djb daemontools with Ubuntu’s upstart

In case anyone wants to get djb’s daemontools up and running quickly on an OS that uses Ubuntu’s System V init-replacement upstart, here’s what works for me:

Create a 3-line file /etc/event.d/svscanboot :

start on runlevel [123456]
exec /command/svscanboot

That should start svscanboot with each system bootup. To have init start svscanboot without rebooting, do

start svscanboot

as root after creating the above file.

  • Reddit
  • Technorati
  • Twitter
  • Facebook
  • Google Bookmarks
  • HackerNews
  • PDF
  • RSS
This entry was posted in sysadmin and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
  • Zeek

    Thanks a lot ! It works perfectly.

  • sorcess

    such config may lead to data loss… consider above configuration with this little change

    start on runlevel [2345]
    stop on runlevel [16]