cookbook 'daemontools', '~> 2.0.0'
daemontools
(27) Versions
2.0.0
-
Follow19
Provides daemontools install, svscan, and service resources
cookbook 'daemontools', '~> 2.0.0', :supermarket
knife supermarket install daemontools
knife supermarket download daemontools
daemontools
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.
Supported Platforms
- 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](LIMITATIONS.md).
Resources
daemontools_install_sourcedaemontools_install_packagedaemontools_install_aurdaemontools_svscandaemontools_service
Resource-specific documentation lives under documentation/.
Usage
Source install with managed svscan
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' end
Debian or Ubuntu package install
daemontools_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' end
Arch Linux AUR install
daemontools_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' end
Define a supervised service
daemontools_service 'flowers' do directory '/etc/sv/flowers' template 'flowers' bin_dir '/usr/local/bin' service_dir '/etc/service' log true action %i(enable start) end
Templates 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.
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
daemontools
This file is used to list changes made in each version of the daemontools cookbook.
2.0.0 (2026-04-22)
⚠ BREAKING CHANGES
- migrate to custom resources (#45)
Features
1.6.19 (2025-10-15)
Bug Fixes
1.6.5 - 2023-02-14
- Remove delivery folder
1.6.4 - 2022-01-06
- resolved cookstyle error: recipes/svscan.rb:26:6 refactor:
Chef/Modernize/UseChefLanguageSystemdHelper - resolved cookstyle error: resources/service.rb:160:1 refactor:
Chef/Modernize/ClassEvalActionClass
1.6.3 - 2021-08-29
- Standardise files with files in sous-chefs/repo-management
v1.6.1 (2020-10-26)
- Adapt to the latest cookstyle (6.21.1)
v1.6.0 (2020-10-16)
- Transferred ownership to sous-chefs
- Updated supported platforms
- Rewrote for new (v12.5+) custom resource
v1.5.0 (2014-12-30)
- Recursively create directory in
daemontools_serviceprovider (#16) - Add
svscanrecipe for managing thesvscanservice so supervised services bydaemontools_servicework (#12, #21) - Update test kitchen support, add tests (#18)
- Improve recipe readability, adding
package_nameattribute, and refactorpackage,sourcerecipes - Add
pacmanas a dependency so ArchLinux "just works"
v1.4.0 (2014-12-15)
- Adding variables parameter to templates in service LWRP
v1.3.0 (2014-04-23)
- COOK-2655 : Replace "execute" method with "
run_command_with_systems_locale"
v1.2.0 (2014-02-25)
- [COOK-4181] - Parameterize source tarball location
v1.1.0
- Fix issue where templates could not be updated after service is enabled
- Add Gentoo platform support via package installation
v1.0.2
- [COOK-2688]: missing space between link and name
v1.0.0
- [COOK-1388] - Conditional fix-ups
- [COOK-1428] - Resolve foodcritic warnings
Collaborator Number Metric
2.0.0 passed this metric
Contributing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 passed this metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 passed this metric
2.0.0 passed this metric
Testing File Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
2.0.0 failed this metric
2.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number