Hi Guys,
daemontools installer doesn't now on recent ubuntus because:
1) there's no /etc/inittab
2) /etc/rc.local by default does not have +x exec right and also it ends
with exit 0 so the installer will add a file after that anyway.
What we should do is use the new infrastructure (initng it's called I
think) and simply create a file /etc/event.d/svscanboot
with the following content:
r...@dns:/etc/event.d# cat /etc/event.d/svscanboot
# svscanboot - DJB's daemontools
#
# This service maintains svscanboot from the point the system is
# started until it is shut down again.
start on runlevel 1
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5
start on runlevel 6
stop on shutdown
respawn
exec /command/svscanboot
After that, you can just type:
start svscanboot
and it's there. It will start automatically now with reboots. I actually
do the same with my dovecot.
Best regards,
Maciej Soltysiak