/[gentoo-x86]/net-misc/lldpd/files/lldpd-initd-2
Gentoo

Contents of /net-misc/lldpd/files/lldpd-initd-2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jul 8 23:17:39 2014 UTC (5 years, 6 months ago) by chutzpah
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Another revision bump, this one to fix the init script so the rundir gets created properly.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)

1 #!/sbin/runscript
2 # Copyright 1999-2014 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/net-misc/lldpd/files/lldpd-initd-2,v 1.1 2014/07/07 22:08:36 chutzpah Exp $
5
6 name=lldpd
7 pidfile=/run/lldpd.pid
8 command=/usr/sbin/lldpd
9 required_dirs="/run/lldpd"
10 retry="TERM/10/KILL/5"
11
12 depend() {
13 use net
14 }
15
16 stop_post() {
17 # make sure to clean up any remaining lldpcli processes
18 pkill lldpcli || true
19 }
20
21 # vim:ft=gentoo-init-d:noet:ts=4:sts=4:sw=4:

  ViewVC Help
Powered by ViewVC 1.1.20