Hmmm...that looks interesting.
However, ps -C <command> still returns "PID TTY TIME CMD" even if the specified process isn't running, which is why I added the grep.
So maybe if `ps -A | grep root-tail` > /dev/null; would work?
Oh...it seems the "PID TTY TIME CMD" doesn't have any effect, so it works fine.
Thank you