Skip to content

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