Skip to content

Commit

Permalink
systemd: fix lxc-containers vs lxc-net ordering (v3)
Browse files Browse the repository at this point in the history
Per pitti's suggestion, use After= to force lxc to wait for lxc-net to finish
running.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Reviewed-By: Martin Pitt <martin.pitt@ubuntu.com>
  • Loading branch information
hallyn authored and stgraber committed Jul 1, 2015
1 parent b27be6f commit ab94359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/init/systemd/lxc.service.in
@@ -1,6 +1,6 @@
[Unit]
Description=LXC Container Initialization and Autoboot Code
After=syslog.target network.target
After=syslog.target network.target lxc-net.service
Wants=lxc-net.service

[Service]
Expand Down

0 comments on commit ab94359

Please sign in to comment.