Skip to content

WIP: Option to disable service for systemd. #97

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

Open
wants to merge 1 commit into
base: kinetic-devel
Choose a base branch
from

Conversation

130s
Copy link
Contributor

@130s 130s commented Jun 28, 2020

Status of PR

WIP, as it is untested yet.

Problem

When provider is set to systemd, robot_upstart doesn't start the installed systemd unit and instead it only shows a comment to start manually, which I find is nice. However, (I guess by placing a unit file under /lib/systemd/system?) that unit is already enabled. So when the next time OS is rebooted, the systemd service in question starts. Sometimes this is not desired. User might want to get a control on whether the service is enabled or not.

Change in this PR

  • Add disable option, with which set to true the systemd unit gets "installed" but disabled so the service won't start before it's explicitly enabled.

Open question

  • Do we need to implement that for upstart?
    • Should upstart be still supported? This PR is targeted kinetic branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant