From 749c8eb7702e67cd0b2a9b2042320593f4d830b4 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Thu, 20 Jun 2024 19:00:09 +0200 Subject: [PATCH] meta-lxatac-software: python3-labgrid: update systemd server for grpc support --- .../python3-labgrid/labgrid-exporter.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-lxatac-software/recipes-devtools/python/python3-labgrid/labgrid-exporter.service diff --git a/meta-lxatac-software/recipes-devtools/python/python3-labgrid/labgrid-exporter.service b/meta-lxatac-software/recipes-devtools/python/python3-labgrid/labgrid-exporter.service new file mode 100644 index 00000000..a160ae8a --- /dev/null +++ b/meta-lxatac-software/recipes-devtools/python/python3-labgrid/labgrid-exporter.service @@ -0,0 +1,15 @@ +[Unit] +Description=Labgrid Exporter +After=network-online.target +Wants=network-online.target + +[Service] +Environment="PYTHONUNBUFFERED=1" +EnvironmentFile=/etc/labgrid/environment +ExecStart=/usr/bin/labgrid-exporter --coordinator ${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT} /etc/labgrid/configuration.yaml +Restart=on-failure +RestartForceExitStatus=100 +RestartSec=30 + +[Install] +WantedBy=multi-user.target