Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple service from init system #279

Merged

Commits on Sep 19, 2016

  1. Remove trailing whitespace

    Taylan Develioglu committed Sep 19, 2016
    Configuration menu
    Copy the full SHA
    b7b76e0 View commit details
    Browse the repository at this point in the history
  2. Decouple managing service and init system from eachother.

    Previously the logic didn't make sense, where one could pass a bool
    to the parameter `init_style` that expects a string to toggle the
    management of service files in the init system and it was impossible to
    let the module manage the service but not the init system.
    
    This breaks the common case of where you want to let a package prep the
    init system but still let the module manage the service.
    
    This commit decouples the service resource from management of the init
    system so it offers the choice of using the module-supplied init files.
    It adds support for a magic value `unmanaged` on parameter `init_style` that
    disables management of the init system.
    Taylan Develioglu committed Sep 19, 2016
    Configuration menu
    Copy the full SHA
    f85fcba View commit details
    Browse the repository at this point in the history