Skip to content

Moved systemd service management to own bundle#1803

Closed
nickanderson wants to merge 2 commits intocfengine:masterfrom
nickanderson:separate-systemd-services/master
Closed

Moved systemd service management to own bundle#1803
nickanderson wants to merge 2 commits intocfengine:masterfrom
nickanderson:separate-systemd-services/master

Conversation

@nickanderson
Copy link
Copy Markdown
Member

This change moves the systemd service management promises to their own bundle.
There should be no change in behavior as using standard_services when systemd is
present will still result in the use of the same promises. This change makes it
easier to maintain the policy as it is logically separate and allows explicit
management of systemd services.

This change moves the systemd service management promises to their own bundle.
There should be no change in behavior as using standard_services when systemd is
present will still result in the use of the same promises. This change makes it
easier to maintain the policy as it is logically separate and allows explicit
management of systemd services.
@nickanderson
Copy link
Copy Markdown
Member Author

@craigcomstock, @vpodzime thoughts on this?

Copy link
Copy Markdown
Contributor

@vpodzime vpodzime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@vpodzime
Copy link
Copy Markdown
Contributor

@nickanderson please check the travis failure and run jenkins on this

@nickanderson
Copy link
Copy Markdown
Member Author

@vpodzime Travis failures seem related to failed git clones, unrelated to this change.

@nickanderson
Copy link
Copy Markdown
Member Author

@cf-bottom jenkins, please

@cf-bottom
Copy link
Copy Markdown

Comment thread lib/services.cf
#
# * active - Service should be running, no promise about state on boot made.
# * inactive - Service should not be running, no promise about state on boot made.
# * restart - Service should be restarted, no promise about state on boot made.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, looks like I didnt finish the docs here. bad nick.

Comment thread lib/services.cf
# * inactive - Service should not be running, no promise about state on boot made.
# * restart - Service should be restarted, no promise about state on boot made.
# **Example:**
#
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add example showing direct usage via methods as well.

@nickanderson nickanderson deleted the separate-systemd-services/master branch July 15, 2020 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants