When using ynh_systemd_action with the option --line_match= or -l, the package have to use also ynh_clean_check_starting into the ynh_clean_setup function.
Otherwise, if the script fails while ynh_systemd_action is running with --line_match=, it's going to hang forever because of tail (or journalctl) still running.
When using
ynh_systemd_action
with the option--line_match=
or-l
, the package have to use alsoynh_clean_check_starting
into theynh_clean_setup
function. Otherwise, if the script fails whileynh_systemd_action
is running with--line_match=
, it's going to hang forever because of tail (or journalctl) still running.