clearpathrobotics / robot_upstart

ROS package of helper functions related to bringing up roslaunch on system startup.
BSD 3-Clause "New" or "Revised" License
193 stars 96 forks source link

WIP: Option to disable service for systemd. #97

Open 130s opened 4 years ago

130s commented 4 years ago

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

Open question