Skip to content
Snippets Groups Projects
Commit 4d170d5a authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

removes older container

parent 726a0d4c
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,8 @@ Type=oneshot
TimeoutStartSec=0
WorkingDirectory=/data/domains/%i/
EnvironmentFile=/etc/environment
ExecStartPre=-/bin/docker rm clean-%i
ExecStartPre=-/bin/docker rm backup-%i
ExecStartPre=/bin/bash -euxc ' \
/bin/docker run \
--rm \
......
......@@ -6,6 +6,8 @@ Type=oneshot
TimeoutStartSec=0
WorkingDirectory=/data/domains/%i/
EnvironmentFile=/etc/environment
ExecStartPre=-/bin/docker rm clean-%i
ExecStartPre=-/bin/docker rm backup-%i
ExecStartPre=/bin/bash -euxc ' \
/bin/docker run \
--rm \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment