Skip to content

Commit 020eb4b

Browse files
committed
python3-labgrid: exporter: allow passing args to systemd ExecStart
Allow configuring e.g. the exporter hostname from the environment file by adding ${LABGRID_ARGS} to the ExecStart command line.
1 parent 1c5a62b commit 020eb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes-devtools/python/python3-labgrid/labgrid-exporter.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Wants=network-online.target
66
[Service]
77
Type=simple
88
EnvironmentFile=/etc/labgrid/environment
9-
ExecStart=/usr/bin/python3 /usr/bin/labgrid-exporter -d -x ws://${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT}/ws /etc/labgrid/configuration.yaml
9+
ExecStart=/usr/bin/python3 /usr/bin/labgrid-exporter -d -x ws://${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT}/ws /etc/labgrid/configuration.yaml ${LABGRID_ARGS}
1010

1111
[Install]
1212
WantedBy=multi-user.target

0 commit comments

Comments
 (0)