From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/lxc/files: lxc.initd |
Date: | Sat, 26 Feb 2011 18:03:36 |
Message-Id: | 20110226180251.59BCA20054@flycatcher.gentoo.org |
1 | flameeyes 11/02/26 18:02:51 |
2 | |
3 | Modified: lxc.initd |
4 | Log: |
5 | Version bump; update warnings (configuration is now back to 0.7.2 syntax); make sure the init script logs warnings, as otherwise you'll never know what's going on. |
6 | |
7 | (Portage version: 2.2.0_alpha25/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.3 app-emulation/lxc/files/lxc.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd?rev=1.3&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd?rev=1.3&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/lxc/files/lxc.initd?r1=1.2&r2=1.3 |
15 | |
16 | Index: lxc.initd |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd,v |
19 | retrieving revision 1.2 |
20 | retrieving revision 1.3 |
21 | diff -u -r1.2 -r1.3 |
22 | --- lxc.initd 1 Aug 2010 21:13:46 -0000 1.2 |
23 | +++ lxc.initd 26 Feb 2011 18:02:51 -0000 1.3 |
24 | @@ -1,7 +1,7 @@ |
25 | #!/sbin/runscript |
26 | -# Copyright 2010-2010 Gentoo Foundation |
27 | +# Copyright 1999-2011 Gentoo Foundation |
28 | # Distributed under the terms of the GNU General Public License v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd,v 1.2 2010/08/01 21:13:46 flameeyes Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd,v 1.3 2011/02/26 18:02:51 flameeyes Exp $ |
31 | |
32 | CONTAINER=${SVCNAME#*.} |
33 | CONFIGFILE=${CONFIGFILE:-/etc/lxc/${CONTAINER}.conf} |
34 | @@ -75,7 +75,7 @@ |
35 | esac |
36 | |
37 | ebegin "Starting ${CONTAINER}" |
38 | - ${setarch} lxc-start -n ${CONTAINER} -f ${CONFIGFILE} -d -o /var/log/lxc/${CONTAINER}.log |
39 | + ${setarch} lxc-start -l WARN -n ${CONTAINER} -f ${CONFIGFILE} -d -o /var/log/lxc/${CONTAINER}.log |
40 | sleep 0.5 |
41 | |
42 | # lxc-start -d will _always_ report a correct startup, even if it |