03-oct: migracion juanjo - rutas dinamicas (.py/.ps1/.ts) + changelog (apps, OmniRoute 3.8.51, UFW 5001)
This commit is contained in:
@@ -20,7 +20,7 @@ def check_homeassistant():
|
||||
"""Verifica si Home Assistant esta corriendo en el VPS"""
|
||||
try:
|
||||
result = subprocess.run(
|
||||
["ssh", "-i", r"C:\Users\juanm\Documents\GitHub\contabo",
|
||||
["ssh", "-i", os.path.expanduser("~/Documents/GitHub/contabo"),
|
||||
"root@185.187.169.109",
|
||||
"docker ps | grep homeassistant | grep -q Up && echo OK || echo NOK"],
|
||||
capture_output=True,
|
||||
@@ -49,7 +49,7 @@ Add-Type -AssemblyName System.Windows.Forms
|
||||
try:
|
||||
subprocess.run([
|
||||
"python",
|
||||
r"C:\Users\juanm\Documents\GitHub\biblioteca_negocio_prolongo\scripts\aviso_sonoro.py",
|
||||
os.path.expanduser("~/Documents/GitHub/biblioteca_negocio_prolongo/scripts/aviso_sonoro.py"),
|
||||
"ok"
|
||||
])
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user