Use systemd.targets to define ip-up
This commit is contained in:
parent
7464d850d3
commit
f0a1e5e356
1 changed files with 4 additions and 5 deletions
|
@ -87,9 +87,8 @@ in
|
|||
}
|
||||
];
|
||||
|
||||
systemd.units."ip-up.target".text =
|
||||
''
|
||||
[Unit]
|
||||
Description=Services Requiring IP Connectivity
|
||||
'';
|
||||
# The ‘ip-up’ target is started when we have IP connectivity. So
|
||||
# services that depend on IP connectivity (like ntpd) should be
|
||||
# pulled in by this target.
|
||||
systemd.targets.ip-up.description = "Services Requiring IP Connectivity";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue