summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn-cgroup.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2015-11-07 15:09:31 +0100
committerMichal Schmidt <mschmidt@redhat.com>2015-11-07 15:16:00 +0100
commitc1d9ba9978561b087760bc3b77b1f330bb22e33f (patch)
treeb4d40c93c8c14dd1945e8bb7800b52e778da6095 /src/nspawn/nspawn-cgroup.c
parent2933d599c242ebfc70ddcffe59163916b02270f1 (diff)
core/timer: in containers OnBootSec should count from container startup
In Fedora dnf-makecache.timer specifies OnBootSec=10min, but it fired during boot in systemd-nspawn, because the clock ticks since the host's boot. Fix it by treating OnBootSec the same as OnStartupSec when running in a container.
Diffstat (limited to 'src/nspawn/nspawn-cgroup.c')
0 files changed, 0 insertions, 0 deletions