Replaces nice with cpu shares
This commit is contained in:
parent
930c73fff3
commit
1f33ea5047
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ ExecStart=/bin/bash -euxc ' \
|
|||
--rm \
|
||||
--name backup-%i \
|
||||
-h backup.container \
|
||||
--cpu-shares=100 \
|
||||
-v /root:/root \
|
||||
-v /data/domains/%i:/backup indiepaas/duplicity \
|
||||
--full-if-older-than 1W \
|
||||
|
|
|
@ -33,11 +33,11 @@ ExecStartPre=/bin/bash -euxc '\
|
|||
-p$mysql_passwd \
|
||||
-h db > /data/domains/%i/mysql/dump.sql; \
|
||||
fi'
|
||||
|
||||
ExecStart=/bin/bash -euxc ' \
|
||||
/bin/docker run \
|
||||
--rm \
|
||||
--name backup-%i \
|
||||
--cpu-shares=100 \
|
||||
-h backup.container \
|
||||
-v /root:/root \
|
||||
-v /data/domains/%i:/backup indiepaas/duplicity \
|
||||
|
|
Loading…
Reference in a new issue