Skip to content

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

Description

@timov50

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions