Fix: Pull same version as later being used

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-09-18 13:24:19 +02:00
parent bc434b273e
commit 9ed3291fd3
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -39,7 +39,7 @@
[Service] [Service]
RemainAfterExit=yes RemainAfterExit=yes
ExecStartPre=/usr/bin/docker pull quay.io/luzifer/netdata ExecStartPre=/usr/bin/docker pull quay.io/luzifer/netdata:{{ version }}
ExecStartPre=-/usr/bin/docker rm -f netdata ExecStartPre=-/usr/bin/docker rm -f netdata
ExecStart=/usr/bin/docker run -d --cap-add SYS_PTRACE \ ExecStart=/usr/bin/docker run -d --cap-add SYS_PTRACE \