Skip to content

Commit

Permalink
lunar-tools: Make systemd lnet wait for the device rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
cavalier38 committed May 31, 2013
1 parent c62812b commit bb74362
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/lunar-tools/systemd.d/lnet-dhclient@.service
Expand Up @@ -2,6 +2,8 @@
Description=dhclient on %I
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device

[Service]
Type=forking
Expand Down
2 changes: 2 additions & 0 deletions utils/lunar-tools/systemd.d/lnet-dhcpcd@.service
Expand Up @@ -2,6 +2,8 @@
Description=dhpcd on %I
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device

[Service]
Type=forking
Expand Down
2 changes: 2 additions & 0 deletions utils/lunar-tools/systemd.d/lnet-static@.service
Expand Up @@ -2,6 +2,8 @@
Description=Network connecitivity on %I
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device

[Service]
Type=oneshot
Expand Down

0 comments on commit bb74362

Please sign in to comment.