Update TurnKey scripts

Disable the 'exit on error' behavior while checking for an IP.
pull/1843/head
tteckster 2 years ago committed by GitHub
parent 3b1560fa63
commit c10678e251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      turnkey/turnkey-core.sh
  2. 2
      turnkey/turnkey-fileserver.sh
  3. 2
      turnkey/turnkey-gameserver.sh
  4. 2
      turnkey/turnkey-gitea.sh
  5. 2
      turnkey/turnkey-gitlab.sh
  6. 2
      turnkey/turnkey-mediaserver.sh
  7. 2
      turnkey/turnkey-nextcloud.sh
  8. 2
      turnkey/turnkey-observium.sh
  9. 2
      turnkey/turnkey-openvpn.sh
  10. 2
      turnkey/turnkey-owncloud.sh
  11. 2
      turnkey/turnkey-torrentserver.sh
  12. 2
      turnkey/turnkey-wordpress.sh
  13. 2
      turnkey/turnkey-zoneminder.sh

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5 sleep 5
# Get container IP # Get container IP
set +e
max_attempts=5 max_attempts=5
attempt=1 attempt=1
IP="" IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND" IP="NOT FOUND"
fi fi
set -e
# Start Proxmox VE Monitor-All if available # Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service systemctl start ping-instances.service

Loading…
Cancel
Save