Compare commits
2 Commits
856ca094b1
...
a1b1466f4b
| Author | SHA1 | Date | |
|---|---|---|---|
| a1b1466f4b | |||
| dbc6ca3ef9 |
8
setup.sh
8
setup.sh
@@ -205,7 +205,7 @@ Type=simple
|
|||||||
User=root
|
User=root
|
||||||
WorkingDirectory=/root/RFB
|
WorkingDirectory=/root/RFB
|
||||||
Environment=PATH=/root/RFB/.venv/bin
|
Environment=PATH=/root/RFB/.venv/bin
|
||||||
ExecStart=/root/RFB/.venv/bin/python3 /root/RFB/get_data.py --team $team
|
ExecStart=/root/RFB/.venv/bin/python3 /root/RFB/get_data.py --team \"$team\"
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
@@ -290,14 +290,14 @@ detect_team() {
|
|||||||
# База данных хостов в виде пар IP-команда
|
# База данных хостов в виде пар IP-команда
|
||||||
declare -A hosts=(
|
declare -A hosts=(
|
||||||
["10.10.35.21"]="cska"
|
["10.10.35.21"]="cska"
|
||||||
["10.10.35.22"]="Kuban"
|
["10.10.35.22"]="Lokomotiv Kuban"
|
||||||
["10.10.35.23"]="uralmash"
|
["10.10.35.23"]="uralmash"
|
||||||
["10.10.35.24"]="betcity"
|
["10.10.35.24"]="betcity parma"
|
||||||
["10.10.35.25"]="avtodor"
|
["10.10.35.25"]="avtodor"
|
||||||
["10.10.35.26"]="zenit"
|
["10.10.35.26"]="zenit"
|
||||||
["10.10.35.27"]="samara"
|
["10.10.35.27"]="samara"
|
||||||
["10.10.35.28"]="mba-mai"
|
["10.10.35.28"]="mba-mai"
|
||||||
["10.10.35.29"]="Pari_Nizhny_Novgorod"
|
["10.10.35.29"]="Pari Nizhny Novgorod"
|
||||||
["10.10.35.30"]="unics"
|
["10.10.35.30"]="unics"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user