During the boot process, docker and minidlna are starts before the directory is available.
I have a Btrfs raid system mounted in srv/dev-disk-by-label-data. In this directory are subdirectories for my pictures and videos.
Have already tried various solutions from the internet to adjust the systemd files so that docker and minidlna are started later. Unfortunately, no success so far.
When the system has booted, I currently always have to manually restart minidlna and docker (e.g. systemctl restart minidlna).
My override.conf in /etc/system/system/minidlna.service.d currently looks like this (not working):
Code
Requires=mdmonitor.service local-fs.target dev-md0.device srv-dev\x2ddisk\x2dby\x2dlabel\x2ddata.mount
After=mdmonitor.service local-fs.target dev-md0.device srv-dev\x2ddisk\x2dby\x2dlabel\x2ddata.mount
RequiresMountsFor=/srv/dev-disk-by-label-data
Ideas what I can do to solve my problem?