Gentoo Archives: gentoo-commits

From: "Wolfram Schlich (wschlich)" <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/mysql-proxy/files/0.6.0: mysql-proxy.confd mysql-proxy.initd
Date: Wed, 03 Oct 2007 15:45:48
Message-Id: E1Id6Gu-0006lm-Kn@stork.gentoo.org
1 wschlich 07/10/03 15:36:24
2
3 Added: mysql-proxy.confd mysql-proxy.initd
4 Log:
5 initial import
6 (Portage version: 2.1.3.7)
7
8 Revision Changes Path
9 1.1 dev-db/mysql-proxy/files/0.6.0/mysql-proxy.confd
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.confd?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.confd?rev=1.1&content-type=text/plain
13
14 Index: mysql-proxy.confd
15 ===================================================================
16 # /etc/conf.d/mysql-proxy: config file for /etc/init.d/mysql-proxy
17
18 # location auf pidfile
19 PIDFILE="/var/run/mysql-proxy.pid"
20
21 # general options for mysql-proxy
22 #OPTS="--proxy-lua-script=/usr/share/doc/mysql-proxy-0.6.0/tutorial-basic.lua"
23 OPTS=""
24
25 # if you want mysql-proxy to depend on mysql, enable this:
26 #RC_NEED="mysql"
27
28
29
30 1.1 dev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd
31
32 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd?rev=1.1&view=markup
33 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd?rev=1.1&content-type=text/plain
34
35 Index: mysql-proxy.initd
36 ===================================================================
37 #!/sbin/runscript
38 # Copyright 1999-2007 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40 # $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd,v 1.1 2007/10/03 15:36:24 wschlich Exp $
41
42 depend() {
43 need net
44 }
45
46 start() {
47 ebegin "Starting MySQL Proxy"
48 start-stop-daemon --start --quiet --exec /usr/sbin/mysql-proxy -- --daemon --pid-file="${PIDFILE}" ${OPTS}
49 eend $?
50 }
51
52 stop() {
53 ebegin "Stopping MySQL Proxy"
54 start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
55 eend $?
56 }
57
58
59
60 --
61 gentoo-commits@g.o mailing list