blob: 5d59f2c78d0dcf0986a3d85a71b37403ea7d72b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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:
|