Man könnte versuchen in den VDR Service die Regel einzubauen, das der Start erst nach dem NFS-Mount Service erfolgen soll
Code
After=network-online.target nmbd.service media-hd.mount media-hd-recordings.mount rc-local.service nfs-mountd.service
/etc/systemd/system/vdr.service
Code
[Unit]
Description=Video Disk Recorder
#Before=lightdm.service
#After=network.target media-hd.mount media64.mount media-nas.mount rc-local.service
After=network-online.target nmbd.service media-hd.mount media-hd-recordings.mount rc-local.service nfs-mountd.service
wants=network-online.target nmbd.service media-hd-recordings.target nfs-mountd.service
[Service]
Type=notify
User=root
Group=root
#Type=simple
#ExecStartPre=/bin/sleep 5
ExecStartPre=/bin/bash /usr/lib/vdr/merge-commands.sh "commands"
ExecStartPre=/bin/bash /usr/lib/vdr/merge-commands.sh "reccmds"
ExecStart=/usr/sbin/vdr
Restart=on-failure
RestartPreventExitStatus=0 2
#TimeoutStartSec=10sec
TimeoutStartSec=infinity
#Environment=LD_PRELOAD=/usr/lib/libmediaclient.so
[Install]
WantedBy=multi-user.target
Display More
systemctl daemon-reload