X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.squbes.com (squbes.com [208.74.142.49]) by lists.alpinelinux.org (Postfix) with ESMTP id A7E433617A1B for ; Fri, 4 Jun 2010 21:46:37 +0000 (UTC) Received: from [10.252.6.46] (c-71-198-150-62.hsd1.ca.comcast.net [71.198.150.62]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nangel@nothome.org) by mail.squbes.com (Postfix) with ESMTPSA id E6D4550001CA1; Fri, 4 Jun 2010 21:46:36 +0000 (UTC) Message-ID: <4C097434.1030905@nothome.org> Date: Fri, 04 Jun 2010 14:46:28 -0700 From: Nathan Angelacos User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: Natanael Copa CC: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Upcomming feature freeze for alpine 2.0.0 References: <4C09588E.7000007@nothome.org> In-Reply-To: Content-Type: multipart/mixed; boundary="------------050709030603000707060301" This is a multi-part message in MIME format. --------------050709030603000707060301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 06/04/10 13:59, Natanael Copa wrote: > On Fri, Jun 4, 2010 at 7:48 PM, Nathan Angelacos wrote: >> Here's a first hack at some of the packages: >> >>> collectd >> >> (1/1) Installing collectd (4.9.1-r2) >> >> Daemon starts; no init.d script yet > > so this needs to be done. > Attached is a init script; however, there's a few things that could be fixed: Config file is /etc/collectd.conf recommend /etc/collectd/collectd.conf PID file is /usr/var/run/collectd.pid recommend /var/run/collectd.pid Logging/collection dir is /usr/var/lib/collectd/ recommend /var/lib/collectd/ Also, the "network.so" module is loaded in the default collectd.conf, but is not included in the package. network.so allows collectd to send/receive logging data across the network - Should be included in the package, or the collectd.conf should not load the module. --------------050709030603000707060301 Content-Type: text/plain; name="collectd" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="collectd" #!/sbin/runscript DAEMON=/usr/sbin/collectd depend() { need net } start() { ebegin "Starting collectd" start-stop-daemon --start --exec $DAEMON eend $? } stop () { ebegin "Stopping collectd" start-stop-daemon --stop --exec $DAEMON eend $? } --------------050709030603000707060301-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---