Containers: Fix all-containers.service start

Fixes #3662.
This commit is contained in:
Eelco Dolstra 2014-08-19 10:06:16 +02:00
parent 6cc889098c
commit 23db49cf98
1 changed files with 3 additions and 0 deletions

View File

@ -319,11 +319,14 @@ in
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
unitConfig.ConditionDirectoryNotEmpty = "/etc/containers";
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
script = script =
'' ''
res=0 res=0
shopt -s nullglob
for i in /etc/containers/*.conf; do for i in /etc/containers/*.conf; do
AUTO_START= AUTO_START=
source "$i" source "$i"