quattor / configuration-modules-core

Node Configuration Manager Components for Everyone
www.quattor.org
Other
7 stars 56 forks source link

ncm-systemd should restore the existing service if the new config fails #1210

Open jouvin opened 6 years ago

jouvin commented 6 years ago

ncm-systemd should implement something similar to ncm-network to restore the existing service definition if the attempt to modify it failed (if there was an error during the service configuration). Currently it renames the previous config but left the service unconfigured/disabled if the service configuration fails.

stdweird commented 6 years ago

so with failed you mean that daemon-reload fails?

jouvin commented 6 years ago

I want to say something like #1209.