From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/beanstalkd/files: init-1.7 |
Date: | Mon, 01 Oct 2012 03:07:28 |
Message-Id: | 20121001030718.38DC121600@flycatcher.gentoo.org |
1 | patrick 12/10/01 03:07:18 |
2 | |
3 | Added: init-1.7 |
4 | Log: |
5 | Bump for #436250 |
6 | |
7 | (Portage version: 2.2.0_alpha128/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-misc/beanstalkd/files/init-1.7 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/beanstalkd/files/init-1.7?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/beanstalkd/files/init-1.7?rev=1.1&content-type=text/plain |
14 | |
15 | Index: init-1.7 |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2012 Gentoo Foundation |
19 | # Distributed under the terms of MIT |
20 | # $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/files/init-1.7,v 1.1 2012/10/01 03:07:18 patrick Exp $ |
21 | |
22 | depend() { |
23 | need net |
24 | } |
25 | |
26 | start() { |
27 | ebegin "Starting beanstalkd" |
28 | /sbin/start-stop-daemon --start \ |
29 | --background \ |
30 | --pidfile ${PIDFILE} --make-pidfile \ |
31 | --exec ${BEANSTALKD_BINARY} \ |
32 | -- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} |
33 | eend $? |
34 | } |
35 | |
36 | stop() { |
37 | ebegin "Stopping beanstalkd" |
38 | start-stop-daemon --stop --quiet \ |
39 | --pidfile ${PIDFILE} \ |
40 | --exec ${BEANSTALKD_BINARY} |
41 | eend $? |
42 | } |