Skip to content

--restart-services argument (without any container) made the command to fail #231

@cazzoo

Description

@cazzoo

Hi,

I am trying to use that container in swarm so I can't rely on containers directly.
That's the reason I was looking for service restart (which appears to be available) unfortunately it appears not to work as expected...

The logs are:

Usage: /usr/bin/dump [OPTIONS...]
	Please consult https://github.com/kereis/traefik-certs-dumper for available options and environment variables!
FATAL ERROR: Got an unexpected argument '--restart-services'

My docker compose definition

certdumper:
      image: ghcr.io/kereis/traefik-certs-dumper:1.8.8
      deploy:
        restart_policy:
          condition: any
      command: --restart-services this_is_myservice
      volumes:
        - /opt/traefik/:/traefik:ro
        - /var/run/docker.sock:/var/run/docker.sock:ro
        - /my/service/ssl:/certs:rw
      environment:
        - DOMAIN=my.tld.domain

Can you please check what's going wrong?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions