Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run wirepasSinkConfigurator.service without pulling latest transport-service? #23

Open
timov50 opened this issue Nov 13, 2022 · 0 comments

Comments

@timov50
Copy link

timov50 commented Nov 13, 2022

By searching image tag of the wirepas/gateway_transport_service it would be possible to run wirepasSinkConfigurator,service without pulling latest wirepas/gateway_transport_service docker image in case specific version of gateway docker images used .

quick-and-dirty way to find image tag and use int wirepasSinkConfigurator.service:

ExecStart=su - wirepas -c "tag=\"$(docker images | grep transport | awk '{print $2}')\" && \
                           docker run \
                           --rm \
                           -v wirepas_dbus-volume:/var/run/dbus \
                           --env-file /boot/wirepas/sink.env \
                           wirepas/gateway_transport_service:$tag wm-node-conf set -s sink1 -S=yes"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant