added olivetin scripts

This commit is contained in:
2023-08-21 12:42:11 -05:00
parent c7cd24bcbe
commit e19f6ce36b
6 changed files with 33 additions and 9 deletions

View File

@@ -1,10 +1,15 @@
#!/bin/bash
docker restart gluetun && echo gluetun restarted
sleep 45
docker restart qbittorrent && echo qbittorrent restarted
sleep 5
docker restart sabnzbd && echo sabnzbd restarted
sleep 5
docker restart jdownloader && echo jdownloader restarted
sleep 5
ssh -i /.ssh/dockerserver -o StrictHostKeyChecking=no \
akanealw@192.168.1.30 \
"docker restart gluetun \
&& echo "gluetun restarting" \
&& sleep 45 \
&& docker restart jdownloader \
&& echo "jdownloader restarting" \
&& sleep 5 \
&& docker restart qbittorrent \
&& echo "qbittorrent restarting" \
&& sleep 5 \
&& docker restart sabnzbd \
&& echo "sabnzbd restarting""

View File

@@ -0,0 +1,6 @@
#!/bin/bash
ssh -i /.ssh/dockerserver -o StrictHostKeyChecking=no \
akanealw@192.168.1.30 \
"docker restart jdownloader \
&& echo "jdownloader restarting""

View File

@@ -0,0 +1,6 @@
#!/bin/bash
ssh -i /.ssh/dockerserver -o StrictHostKeyChecking=no \
akanealw@192.168.1.30 \
"docker restart qbittorrent \
&& echo "qbittorrent restarting""

View File

@@ -0,0 +1,6 @@
#!/bin/bash
ssh -i /.ssh/dockerserver -o StrictHostKeyChecking=no \
akanealw@192.168.1.30 \
"docker restart sabnzbd \
&& echo "sabnzbd restarting""

View File

@@ -1 +1 @@
ssh -i /config/proxmox2 -o StrictHostKeyChecking=no akanealw@192.168.1.52 /home/akanealw/scripts/shutdown-proxmox1.sh
ssh -i /.ssh/proxmox2 -o StrictHostKeyChecking=no akanealw@192.168.1.52 /home/akanealw/scripts/shutdown-proxmox1.sh

View File

@@ -0,0 +1 @@
ssh -i /.ssh/proxmox2 -o StrictHostKeyChecking=no akanealw@192.168.1.52 /home/akanealw/scripts/wake-proxmox1.sh