intel / ccloudvm

Configurable Cloud VM is a small command line tool for automatically creating development and demo environments for complex projects. The tool sets up these development environments inside a virtual machine which it automatically creates on the user’s host computer. This avoids polluting the user’s host machine with components from the chosen development environment and provides a clean, predictable and repeatable environment in which this development environment can run.
Apache License 2.0
32 stars 19 forks source link

Disable service timeout when not using systemd #98

Closed markdryan closed 6 years ago

markdryan commented 6 years ago

The ccvm service starts a timer when it has completed executing its last command and its command queue is empty. The timer lasts for one minute and if no new commands are received during this minute, the service shuts down. This makes sense when using systemd as the service will be automically restarted to service any new commands by systemd socket activation. However, when running ccvm without systemd there's nothing to restart it, so it doesn't make sense to shut it down when its idle.

Signed-off-by: Mark Ryan mark.d.ryan@intel.com