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
#9
From script you can test the status if mpd is running as following
Code:
mpc
echo $?

Exit status is 0 when running.
Alternative you can use the exit status of `systemctl status mpd`.

You can also monitor the status of mpd by code. See for example my python script mpd2cdspvolume.
Reply


Messages In This Thread
RE: Test whether Moode startup has completed from systemd service file - by bitlab - 05-04-2023, 02:42 PM

Forum Jump: