]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
systemd: starts lldpd after network
authorVincent Bernat <bernat@luffy.cx>
Tue, 22 Oct 2013 19:08:57 +0000 (21:08 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 22 Oct 2013 19:08:57 +0000 (21:08 +0200)
While lldpd can detect new interface, it does not make sense to make
it starts before network is ready. Let other more important programs
run.

src/daemon/lldpd.service.in

index 47af656940a1c7e6efcde2852d9c6acb26082a60..4be8a2e014095909d67d4ea9b061ef31e635c50b 100644 (file)
@@ -1,6 +1,7 @@
 [Unit]
 Description=LLDP daemon
 Documentation=man:lldpd(8)
+After=network.target
 
 [Service]
 Type=notify