service_pause and service_resume do not work as documented on systemd
Bug #1692178 reported by
Paul Gear
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The documentation for service_pause() is documented as:
"Pause a system service. Stop it, and prevent it from starting again at boot."
This is not accurate, because service_pause stops the service and prevents it from starting at all, both on boot and when called manually.
Similarly, service_resume() is documented as:
"Resume a system service. Reenable starting again at boot. Start the service."
However, if a service is disabled, running service_pause() and service_resume() will not cause the service to be enabled at boot.
This behaviour is due to service_
Related branches
lp:~paulgear/charm-helpers/enable-disable-service-systemd
- Stuart Bishop (community): Approve
- charmers: Pending requested
-
Diff: 19 lines (+2/-0)1 file modifiedcharmhelpers/core/host.py (+2/-0)
Changed in charm-helpers: | |
status: | New → Fix Committed |
Changed in charm-helpers: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.