From 7565099c27d81cc97fdcf29751693025c11d267c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= Date: Thu, 7 Feb 2019 17:20:41 +0100 Subject: [PATCH] python3-labgrid: exporter: allow passing args to systemd ExecStart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow configuring e.g. the exporter hostname from the environment file by adding ${LABGRID_ARGS} to the ExecStart command line. Signed-off-by: Martin Hundebøll --- .../python/python3-labgrid/labgrid-exporter.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/python/python3-labgrid/labgrid-exporter.service b/recipes-devtools/python/python3-labgrid/labgrid-exporter.service index 114900f..4f9b331 100644 --- a/recipes-devtools/python/python3-labgrid/labgrid-exporter.service +++ b/recipes-devtools/python/python3-labgrid/labgrid-exporter.service @@ -6,7 +6,7 @@ Wants=network-online.target [Service] Type=simple EnvironmentFile=/etc/labgrid/environment -ExecStart=/usr/bin/python3 /usr/bin/labgrid-exporter -d -x ws://${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT}/ws /etc/labgrid/configuration.yaml +ExecStart=/usr/bin/python3 /usr/bin/labgrid-exporter -d -x ws://${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT}/ws /etc/labgrid/configuration.yaml ${LABGRID_ARGS} [Install] WantedBy=multi-user.target