diff --git a/files/bashscripts/proxyserver/akanealw/olivetin/restart-gluetun-and-services.sh b/files/bashscripts/proxyserver/akanealw/olivetin/restart-gluetun-and-services.sh index dad7fd1..f29c325 100755 --- a/files/bashscripts/proxyserver/akanealw/olivetin/restart-gluetun-and-services.sh +++ b/files/bashscripts/proxyserver/akanealw/olivetin/restart-gluetun-and-services.sh @@ -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"" diff --git a/files/bashscripts/proxyserver/akanealw/olivetin/restart-jdownloader.sh b/files/bashscripts/proxyserver/akanealw/olivetin/restart-jdownloader.sh new file mode 100644 index 0000000..ef29460 --- /dev/null +++ b/files/bashscripts/proxyserver/akanealw/olivetin/restart-jdownloader.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +ssh -i /.ssh/dockerserver -o StrictHostKeyChecking=no \ +akanealw@192.168.1.30 \ +"docker restart jdownloader \ +&& echo "jdownloader restarting"" diff --git a/files/bashscripts/proxyserver/akanealw/olivetin/restart-qbittorrent.sh b/files/bashscripts/proxyserver/akanealw/olivetin/restart-qbittorrent.sh new file mode 100644 index 0000000..9c188ce --- /dev/null +++ b/files/bashscripts/proxyserver/akanealw/olivetin/restart-qbittorrent.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +ssh -i /.ssh/dockerserver -o StrictHostKeyChecking=no \ +akanealw@192.168.1.30 \ +"docker restart qbittorrent \ +&& echo "qbittorrent restarting"" diff --git a/files/bashscripts/proxyserver/akanealw/olivetin/restart-sabnzbd.sh b/files/bashscripts/proxyserver/akanealw/olivetin/restart-sabnzbd.sh new file mode 100644 index 0000000..c489869 --- /dev/null +++ b/files/bashscripts/proxyserver/akanealw/olivetin/restart-sabnzbd.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +ssh -i /.ssh/dockerserver -o StrictHostKeyChecking=no \ +akanealw@192.168.1.30 \ +"docker restart sabnzbd \ +&& echo "sabnzbd restarting"" diff --git a/files/bashscripts/proxyserver/akanealw/olivetin/shutdown-proxmox1.sh b/files/bashscripts/proxyserver/akanealw/olivetin/shutdown-proxmox1.sh index 6e383ec..a34598e 100755 --- a/files/bashscripts/proxyserver/akanealw/olivetin/shutdown-proxmox1.sh +++ b/files/bashscripts/proxyserver/akanealw/olivetin/shutdown-proxmox1.sh @@ -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 diff --git a/files/bashscripts/proxyserver/akanealw/olivetin/wake-proxmox1.sh b/files/bashscripts/proxyserver/akanealw/olivetin/wake-proxmox1.sh new file mode 100644 index 0000000..32ffd23 --- /dev/null +++ b/files/bashscripts/proxyserver/akanealw/olivetin/wake-proxmox1.sh @@ -0,0 +1 @@ +ssh -i /.ssh/proxmox2 -o StrictHostKeyChecking=no akanealw@192.168.1.52 /home/akanealw/scripts/wake-proxmox1.sh