systemd: tweak NM-wait-online.service
authorBill Nottingham <notting@redhat.com>
Tue, 10 May 2011 21:34:11 +0000 (16:34 -0500)
committerDan Williams <dcbw@redhat.com>
Tue, 10 May 2011 21:34:11 +0000 (16:34 -0500)
commit0ce4b6b4128f19177072d1bb5f5c3a87783256ba
tree33e66578beff84f212f6ce1616ea8f1b0de341ab
parent9ff4914ccc6bac1df3aa14655e32e9c38d093816
systemd: tweak NM-wait-online.service

1) Don't require NM, but run after it. This allows this service
to be installed without bringing up NetworkManager. Add -x so that
it exits if NM isn't running.

2) Install as a want of network.target, instead of multi-user.target.
This allows us to skip it if nothing requires network.target or the
legacy $network SysV capability.
data/NetworkManager-wait-online.service.in