Skip to content

Commit ef009a8

Browse files
authored
Merge pull request #3 from flipperdevices/ssecsd/new_runner_monitoring
Ssecsd/new runner monitoring
2 parents 86f602f + ad711c3 commit ef009a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

installer.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ echo "ST-Link ID: $ST_LINK_ID"
2424

2525
# Define installation paths
2626
INSTALL_DIR="/opt/flipper-runners"
27-
VENV_DIR="${INSTALL_DIR}/venv"
27+
VENV_DIR="${INSTALL_DIR}/${FLIPPER_ID}/venv"
2828
SCRIPTS_DIR="${INSTALL_DIR}/scripts"
2929
CONFIG_DIR="/var/lib/flipper-docker"
3030
WRAPPER_SCRIPT="/usr/local/bin/flipper-docker-wrapper.sh"

scripts/flipper_docker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from datetime import datetime
1515

1616

17-
# Set up structured logging for systemd journal
1817
class JournalAdapter(logging.LoggerAdapter):
1918
def process(self, msg, kwargs):
2019
# Add structured fields for systemd journal
@@ -199,6 +198,7 @@ def find_devices(self) -> None:
199198
if usb_path:
200199
self.devices.append(usb_path)
201200
if flipper_tty_path:
201+
self.device_mappings[flipper_tty_path] = "/dev/ttyACM0" # Consistently map Flipper to ttyACM0
202202
self.devices.append(flipper_tty_path)
203203

204204
def create_docker_container(self) -> None:

0 commit comments

Comments
 (0)