Situation:
I have a Proxmox qBitorrent LXC that has some fstab mounts to my Synology nas via NFS.
What i'd like if that if the Nas where to fail/reboot/etc... the qBitorrent LXC would automatically shut down before qBitorrent starts marking all the torrents as failed and then I have to recheck them all.
I was thinking if theres a script maybe or something like constant ping and if the ping fails then shut down the lcx?
I have a Proxmox qBitorrent LXC that has some fstab mounts to my Synology nas via NFS.
What i'd like if that if the Nas where to fail/reboot/etc... the qBitorrent LXC would automatically shut down before qBitorrent starts marking all the torrents as failed and then I have to recheck them all.
I was thinking if theres a script maybe or something like constant ping and if the ping fails then shut down the lcx?