fix: do not always add service-run as argument to the entrypoint

This allows the correct usage of

`docker run -it paessler/multi-platform-probe example-config`
This commit is contained in:
Florian Dörsch
2024-08-16 09:37:34 +02:00
parent 29af404991
commit 08ee7e1398

View File

@@ -57,4 +57,5 @@ VOLUME [ "/config", "/opt/paessler/share/scripts" ]
# set WORKDIR to a sane default # set WORKDIR to a sane default
WORKDIR / WORKDIR /
ENTRYPOINT [ "/run-prtgmpprobe.sh", "service-run" ] ENTRYPOINT [ "/run-prtgmpprobe.sh" ]
CMD [ "service-run" ]