Closed JimboJoe closed 6 years ago
Seems good to me, just one thing, have you checked the value get by $pid_tail, to be sure there's no problem with the if ?
$pid_tail
gets the right pid.
Not specifically related to this PR, the ynh_clean_check_starting
isn't found in my scripts when used in the ynh_clean_setup
used by ynh_abort_if_errors
; I had to put it out of ynh_check_starting
...
Did it ever work for you, did I miss something...?
Hum, the question would be, is a function is available outside of the scope of another function... I'm not sure though, and maybe the better thing would be to put this function outside to be sure.
As soon as it's ok for you, merge, it's an experimental helper, no reason to bother us with long reviews.
Use systemd journal for log inputs if specified log file is "systemd".