mirror of https://github.com/sipwise/ngcpcfg.git
Previously 'systemd daemon-reload' and 'systemctl preset-all' were executed only if changes detected in configs. Otherwise the early exit happened if no .service files were triggered: > DEBUG: No services file(s) reported - nothing to do. Move the code into the function systed_daemon_reload_preset and execute it on the top of the script. Also print info message informing users about reloaded systemd and newly preset units. It should provide better visibility here. Change-Id: I992af9fb274ea93a37b812a51cebcd7af5c54133changes/69/23269/2
parent
e72faea77b
commit
89fd54e83f
Loading…
Reference in new issue