Thank you for your donation!


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


HA integration render and others.
#2
You will need to use a symbolic (soft) link instead of a hard link because the currentsong.txt file is updated via writing to a /tmp file first then renaming it to /var/local/www/currentsong.txt. This effectively creates a new file which causes the hard link to become broken.

Try this

Code:
# Remove hard linked file
sudo rm /var/www/currentsong.txt

# Create soft linked file
sudo ln -s /var/local/www/currentsong.txt /var/www/currentsong.txt
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
HA integration render and others. - by kuduacz - 05-23-2022, 11:37 AM
RE: HA integration render and others. - by Tim Curtis - 05-23-2022, 01:17 PM
RE: HA integration render and others. - by Nutul - 06-24-2022, 09:08 PM
RE: HA integration render and others. - by Nutul - 06-24-2022, 10:24 PM
RE: HA integration render and others. - by Nutul - 06-24-2022, 11:58 PM

Forum Jump: