summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2015-12-06 17:54:22 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-12-09 20:36:59 +0100
commit3005fbcdc69dcf1960f93e3a33eccb037c55bd54 (patch)
tree4804a89ad3bb613aed798d1a0b5ac7761e244a00 /projectroot
parent83cc3c0343cb342cedd1620abdf0021d7d1badc3 (diff)
downloadptxdist-3005fbcdc69dcf1960f93e3a33eccb037c55bd54.tar.gz
ptxdist-3005fbcdc69dcf1960f93e3a33eccb037c55bd54.tar.xz
lldpd: update to 0.7.19 and add systemd support
Bump version to current stable version 0.7.19. Add options for custom TLV and JSON support. Add systemd unit and adapt rule file accordingly. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/lib/systemd/system/lldpd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/projectroot/lib/systemd/system/lldpd.service b/projectroot/lib/systemd/system/lldpd.service
new file mode 100644
index 000000000..9b511659a
--- /dev/null
+++ b/projectroot/lib/systemd/system/lldpd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=LLDP daemon
+After=network.target
+RequiresMountsFor=@PRIVSEP_CHROOT@
+
+[Service]
+Type=notify
+NotifyAccess=main
+ExecStart=/usr/sbin/lldpd @DAEMON_ARGS@
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target