Custom resources for installing daemontools, managing svscan, and defining supervised services.
This cookbook no longer exposes recipes or node attributes as its public API. Use the resources directly.
- Amazon Linux 2023
- Debian 12+
- Ubuntu 24.04+
- Arch Linux via AUR
- Gentoo via
sys-process/daemontools
Current distro and packaging constraints are documented in LIMITATIONS.md.
daemontools_install_sourcedaemontools_install_packagedaemontools_install_aurdaemontools_svscandaemontools_service
Resource-specific documentation lives under documentation/.
daemontools_install_source 'default' do
bin_dir '/usr/local/bin'
service_dir '/etc/service'
end
daemontools_svscan 'default' do
install_style :source
bin_dir '/usr/local/bin'
service_dir '/etc/service'
enddaemontools_install_package 'default' do
package_name 'daemontools-run'
service_dir '/etc/service'
end
daemontools_svscan 'default' do
install_style :package
service_name 'daemontools'
service_dir '/etc/service'
enddaemontools_install_aur 'default' do
package_name 'daemontools'
service_dir '/etc/service'
end
daemontools_svscan 'default' do
install_style :aur
service_name 'svscan'
service_dir '/etc/service'
enddaemontools_service 'flowers' do
directory '/etc/sv/flowers'
template 'flowers'
bin_dir '/usr/local/bin'
service_dir '/etc/service'
log true
action %i(enable start)
endTemplates are still expected in the consuming cookbook:
templates/default/sv-flowers-run.erbtemplates/default/sv-flowers-log-run.erb
If the service uses a finish script, set finish true and provide sv-flowers-finish.erb.
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.