-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 a new parameter to the public class `manage_init` that allows fully shutting down management of the init system so the module can cover all use cases.
- Loading branch information
Taylan Develioglu
committed
Sep 19, 2016
1 parent
b7b76e0
commit a87c3a9
Showing
5 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters