1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/testing/lldpd/lldpd.initd
2017-08-25 07:50:41 +00:00

19 lines
371 B
Text

#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
name=lldpd
pidfile=/run/lldpd/lldpd.pid
command=/usr/sbin/lldpd
retry="TERM/10/KILL/5"
command_args="${LLDPD_OPTS}"
start_stop_daemon_args="--wait 300"
depend() {
use net
}
start_pre() {
checkpath --directory /run/lldpd -o lldpd -m 0700
}