Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Test whether Moode startup has completed from systemd service file
#6
Hi Tim

When worker.php is not running the ps -C exit status is 1, which is not a success, and the until loop does not break out.
When worker.php is running the ps -C exit status is 0, which is a success, and the until loop breaks out.

E.g. see  https://stackoverflow.com/a/21982743

Adrian.
Reply


Messages In This Thread
RE: Test whether Moode startup has completed from systemd service file - by adrii - 05-04-2023, 05:32 AM

Forum Jump: