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

Hopefully less failing backup

parent 527882ae
No related branches found
No related tags found
No related merge requests found
......@@ -3,10 +3,12 @@ Description=Back up data from %i
[Service]
Type=oneshot
TimeoutStartSec=0
TimeoutStartSec=120
WorkingDirectory=/data/domains/%i/
EnvironmentFile=/etc/environment
ExecStartPre=-/bin/docker kill clean-%i
ExecStartPre=-/bin/docker rm clean-%i
ExecStartPre=-/bin/docker kill backup-%i
ExecStartPre=-/bin/docker rm backup-%i
ExecStartPre=/bin/bash -euxc ' \
/bin/docker run \
......
......@@ -3,10 +3,12 @@ Description=Back up data from %i
[Service]
Type=oneshot
TimeoutStartSec=0
TimeoutStartSec=120
WorkingDirectory=/data/domains/%i/
EnvironmentFile=/etc/environment
ExecStartPre=-/bin/docker kill clean-%i
ExecStartPre=-/bin/docker rm clean-%i
ExecStartPre=-/bin/docker kill backup-%i
ExecStartPre=-/bin/docker rm backup-%i
ExecStartPre=/bin/bash -euxc ' \
/bin/docker run \
......
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