Im using chef to automate my production environment. One such production installation follows the process of
- Installing a package from local repository
- Restarting a service using svc deamontools ( eg svc -u service_name)
I know chef provides a resource called "package" to install a package from repository. But, is there a resource to restart/reload a deamontool service?
The below resource, would start/stop the services controlled by init.d. But I'm looking to control the services from svc deamontools. Any pointers would be much appreciated.
service 'nginx' do action [ :enable, :start ] end