New review comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/pull/30599#discussion_r624845632 Comment: If this check really matters, and there's no reliable way to actually determine whether the service is running, might as well just use `chpst -L` in the run script to acquire a lock on some file like `/run/xen/xenconsoled.lock`. Then the check script can just try to acquire that lock and, if it succeeds, you know the service is not running. Yes, this would be a hack. It would also be much less hacky than trying to scrape the process tree.