summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2016-03-02 16:51:00 -0800
committerPatrick McLean <chutzpah@gentoo.org>2016-03-02 16:51:43 -0800
commiteac11e64f4703e7010088e4bda2f9d944ed585cb (patch)
treebfdb0f8ae60ea37b4b80304361b7263e88fc2007 /net-misc/lldpd/files
parentapp-office/libreoffice-l10n: Remove old (diff)
downloadgentoo-eac11e64f4703e7010088e4bda2f9d944ed585cb.tar.gz
gentoo-eac11e64f4703e7010088e4bda2f9d944ed585cb.tar.bz2
gentoo-eac11e64f4703e7010088e4bda2f9d944ed585cb.zip
net-misc/lldpd: Version bump to 0.9.1
Package-Manager: portage-2.2.27
Diffstat (limited to 'net-misc/lldpd/files')
-rw-r--r--net-misc/lldpd/files/lldpd-initd-520
-rw-r--r--net-misc/lldpd/files/tmpfilesd1
2 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/lldpd/files/lldpd-initd-5 b/net-misc/lldpd/files/lldpd-initd-5
new file mode 100644
index 000000000000..5d59f2c78d0d
--- /dev/null
+++ b/net-misc/lldpd/files/lldpd-initd-5
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+name=lldpd
+pidfile=/run/lldpd.pid
+command=/usr/sbin/lldpd
+retry="TERM/10/KILL/5"
+command_args="${LLDPD_OPTS}"
+
+depend() {
+ use net
+}
+
+start_pre() {
+ checkpath --directory /run/lldpd -o lldpd -m 0700
+}
+
+# vim:ft=gentoo-init-d:noet:ts=4:sts=4:sw=4:
diff --git a/net-misc/lldpd/files/tmpfilesd b/net-misc/lldpd/files/tmpfilesd
new file mode 100644
index 000000000000..5e3af548a581
--- /dev/null
+++ b/net-misc/lldpd/files/tmpfilesd
@@ -0,0 +1 @@
+d /run/lldpd 0700 lldpd lldpd -