Sha256: 7cc03cd1bbfeec9c35e75679093b32c85d39bbd4b5e749c77ba1dd3107f303d5

Contents?: true

Size: 1.18 KB

Versions: 7

Compression:

Stored size: 1.18 KB

Contents

# Chef::Provider::Service::Daemontools

Chef's provider to manage service under daemontools.

You can transparently manage processes under daemontools using `service` resource.

## Installation

Add this line to your application's Gemfile:

    gem 'chef-provider-service-daemontools'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install chef-provider-service-daemontools

## Usage

```ruby
require 'chef/provider/service/daemontools'

service 'tinydns-internal' do
  provider Chef::Provider::Service::Daemontools
  service_dir '/service'
  directory '/etc/djbdns/tinydns-internal'
  supports :restart => true, :reload => true
  action [:enable, :start]
end
```

- provider (required)
    - `Chef::Provider::Service::Daemontools`
- service_dir (optional)
    - directory that svscan monitors. default is `/service`
- directory (required)
    - directory contains `run` file

## Contributing

1. Fork it ( https://github.com/hirose31/chef-provider-service-daemontools/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chef-provider-service-daemontools-1.0.6 README.md
chef-provider-service-daemontools-1.0.5 README.md
chef-provider-service-daemontools-1.0.4 README.md
chef-provider-service-daemontools-1.0.3 README.md
chef-provider-service-daemontools-1.0.2 README.md
chef-provider-service-daemontools-1.0.1 README.md
chef-provider-service-daemontools-1.0.0 README.md