Don't restart container-startup-done

This commit is contained in:
Eelco Dolstra 2014-04-15 11:26:16 +02:00
parent 596bd37163
commit 35bf0f4810
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ with lib;
'';
serviceConfig.Type = "oneshot";
serviceConfig.RemainAfterExit = true;
restartIfChanged = false;
};
};

View File

@ -225,6 +225,7 @@ in
# writes something to this pipe. FIXME: it also hangs
# until the start timeout expires if systemd-nspawn exits.
read x < $root/var/lib/startup-done
rm -f $root/var/lib/startup-done
'';
preStop =