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

Nice is inefficient about docker run :)

parent 0ae0d260
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ Description=Back up data from %i ...@@ -4,7 +4,6 @@ Description=Back up data from %i
[Service] [Service]
Type=oneshot Type=oneshot
TimeoutStartSec=0 TimeoutStartSec=0
Nice=0
WorkingDirectory=/data/domains/%i/ WorkingDirectory=/data/domains/%i/
EnvironmentFile=/etc/environment EnvironmentFile=/etc/environment
ExecStartPre=/bin/bash -euxc 'sleep `shuf -i 0-400 -n 1`' ExecStartPre=/bin/bash -euxc 'sleep `shuf -i 0-400 -n 1`'
......
...@@ -4,7 +4,6 @@ Description=Back up data from %i ...@@ -4,7 +4,6 @@ Description=Back up data from %i
[Service] [Service]
Type=oneshot Type=oneshot
TimeoutStartSec=0 TimeoutStartSec=0
Nice=0
EnvironmentFile=/etc/environment EnvironmentFile=/etc/environment
ExecStartPre=/usr/bin/docker run --rm -v /opt/bin:/opt/bin ibuildthecloud/systemd-docker ExecStartPre=/usr/bin/docker run --rm -v /opt/bin:/opt/bin ibuildthecloud/systemd-docker
ExecStartPre=-/usr/bin/docker kill mysqldump-%i ExecStartPre=-/usr/bin/docker kill mysqldump-%i
......
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