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

Adds PASSPHRASE to duplicity command

parent 2414cdd3
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ ExecStartPre=/bin/bash -euxc ' \
/bin/docker run \
--rm \
--name clean-%i \
-e PASSPHRASE \
-v /root:/root \
indiepaas/duplicity \
remove-older-than 2W --force \
......@@ -21,6 +22,7 @@ ExecStart=/bin/bash -euxc ' \
--name backup-%i \
-h backup.container \
--cpu-shares=40 \
-e PASSPHRASE \
-v /root:/root \
-v /data/domains/%i:/backup indiepaas/duplicity \
--full-if-older-than 1W \
......
......@@ -14,6 +14,7 @@ ExecStartPre=/bin/bash -euxc ' \
/bin/docker run \
--rm \
--name clean-%i \
-e PASSPHRASE \
-v /root:/root \
indiepaas/duplicity \
remove-older-than 2W --force \
......@@ -40,6 +41,7 @@ ExecStart=/bin/bash -euxc ' \
--rm \
--name backup-%i \
--cpu-shares=40 \
-e PASSPHRASE \
-h backup.container \
-v /root:/root \
-v /data/domains/%i:/backup indiepaas/duplicity \
......
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