From: | "Tony Vroon (chainsaw)" <chainsaw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-nds/tac_plus/files: tac_plus.init2 |
Date: | Tue, 07 Feb 2012 14:25:02 |
Message-Id: | 20120207142452.892432004C@flycatcher.gentoo.org |
1 | chainsaw 12/02/07 14:24:52 |
2 | |
3 | Added: tac_plus.init2 |
4 | Log: |
5 | Revision bump. Add sys-libs/pam to RDEPEND and remove spurious libtool archive when static-libs is not enabled. Stop specifying deprecated opts variable in init script. Closes bugs #402503 & #402505 by Agostino "ago" Sarubbo. |
6 | |
7 | (Portage version: 2.1.10.45/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-nds/tac_plus/files/tac_plus.init2 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/tac_plus/files/tac_plus.init2?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/tac_plus/files/tac_plus.init2?rev=1.1&content-type=text/plain |
14 | |
15 | Index: tac_plus.init2 |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2012 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/net-nds/tac_plus/files/tac_plus.init2,v 1.1 2012/02/07 14:24:52 chainsaw Exp $ |
21 | |
22 | depend() { |
23 | need net |
24 | } |
25 | |
26 | start() { |
27 | ebegin "Starting tac_plus" |
28 | start-stop-daemon --start --quiet --exec /usr/bin/tac_plus \ |
29 | -- -C /etc/tac_plus/tac_plus.conf ${TAC_PLUS_OPTS} |
30 | eend $? |
31 | } |
32 | |
33 | stop() { |
34 | ebegin "Stopping tac_plus" |
35 | start-stop-daemon --stop --quiet --pidfile /var/run/tac_plus.pid |
36 | eend $? |
37 | } |