This commit is contained in:
wvr
2026-02-13 22:35:40 -06:00
parent e306c81c12
commit f1a886e2e4
2 changed files with 3 additions and 2 deletions

1
seedbox/etc/fstab Normal file
View File

@@ -0,0 +1 @@
//192.168.100.143/torrents /mnt/torrents cifs nofail,rw,uid=100,gid=101,iocharset=utf8,vers=3.0,credentials=/root/sambacreds.txt,_netdev 0 0

View File

@@ -1,9 +1,9 @@
if ! [ -d /mnt/torrents/complete ] ; then
if mount -a ; then
rc-service wg-quick.wg0 restart
rc-service wg-quick.mullvad restart
rc-service qbittorrent-nox restart
fi
else
rc-service wg-quick.wg0 restart
rc-service wg-quick.mullvad restart
rc-service qbittorrent-nox restart
fi