first commit
This commit is contained in:
18
proxyserver/akanealw/olivetin/restart-gluetun-and-services.sh
Executable file
18
proxyserver/akanealw/olivetin/restart-gluetun-and-services.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
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" \
|
||||
&& curl -fsS -m 10 --retry 5 -o /dev/null \
|
||||
https://uptimekuma.akanealw.com/api/push/eT36YM3T94?status=up&msg=OK&ping="
|
||||
7
proxyserver/akanealw/olivetin/restart-jdownloader.sh
Executable file
7
proxyserver/akanealw/olivetin/restart-jdownloader.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
ssh -i ~/.ssh/dockerserver \
|
||||
-o StrictHostKeyChecking=no \
|
||||
akanealw@192.168.1.30 \
|
||||
"docker restart jdownloader \
|
||||
&& echo "jdownloader restarting""
|
||||
7
proxyserver/akanealw/olivetin/restart-qbittorrent.sh
Executable file
7
proxyserver/akanealw/olivetin/restart-qbittorrent.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
ssh -i ~/.ssh/dockerserver \
|
||||
-o StrictHostKeyChecking=no \
|
||||
akanealw@192.168.1.30 \
|
||||
"docker restart qbittorrent \
|
||||
&& echo "qbittorrent restarting""
|
||||
7
proxyserver/akanealw/olivetin/restart-sabnzbd.sh
Executable file
7
proxyserver/akanealw/olivetin/restart-sabnzbd.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
ssh -i ~/.ssh/dockerserver \
|
||||
-o StrictHostKeyChecking=no \
|
||||
akanealw@192.168.1.30 \
|
||||
"docker restart sabnzbd \
|
||||
&& echo "sabnzbd restarting""
|
||||
4
proxyserver/akanealw/olivetin/shutdown-proxmox1.sh
Executable file
4
proxyserver/akanealw/olivetin/shutdown-proxmox1.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
ssh -i ~/.ssh/proxmox2 \
|
||||
-o StrictHostKeyChecking=no \
|
||||
akanealw@192.168.1.52 \
|
||||
/home/akanealw/scripts/shutdown-proxmox1.sh
|
||||
4
proxyserver/akanealw/olivetin/wake-proxmox1.sh
Executable file
4
proxyserver/akanealw/olivetin/wake-proxmox1.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
ssh -i ~/.ssh/proxmox2 \
|
||||
-o StrictHostKeyChecking=no \
|
||||
akanealw@192.168.1.52 \
|
||||
/home/akanealw/scripts/wake-proxmox1.sh
|
||||
Reference in New Issue
Block a user