Обновить install-agent.sh
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
# MTG Agent installer / updater
|
||||
# ISCM Agent installer / updater
|
||||
# Usage: bash install-agent.sh [AGENT_TOKEN]
|
||||
set -e
|
||||
|
||||
TOKEN="${1:-mtg-agent-secret}"
|
||||
INSTALL_DIR="/opt/mtg-agent"
|
||||
RAW="https://raw.githubusercontent.com/MaksimTMB/mtg-adminpanel/dev/mtg-agent"
|
||||
TOKEN="${1:-agent-secret}"
|
||||
INSTALL_DIR="/opt/iscm-agent"
|
||||
RAW="https://git.ivacom.su/public/ISCM_agent/raw/branch/main"
|
||||
|
||||
echo "==> MTG Agent install/update..."
|
||||
echo "==> Iscm Agent install/update..."
|
||||
mkdir -p "$INSTALL_DIR"
|
||||
cd "$INSTALL_DIR"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user