srv/poe_manager/app.py aktualisiert
This commit is contained in:
@@ -495,10 +495,14 @@ def restart_device(mac):
|
||||
|
||||
subprocess.Popen(
|
||||
[
|
||||
"/bin/bash",
|
||||
POE_SCRIPT,
|
||||
"restart",
|
||||
mac
|
||||
],
|
||||
env={
|
||||
"PATH": "/srv/poe_manager/venv/bin:" + os.environ["PATH"]
|
||||
},
|
||||
stdout=subprocess.DEVNULL,
|
||||
stderr=subprocess.DEVNULL
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user