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

View File

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