From ad3a1aa6bb47d308ac5517bfb8003aecd3dfdac7 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 24 Jan 2007 17:49:14 +0100 Subject: [PATCH] collectd.spec: Moved to `contrib/fedora/'. Likewise the init.d-script. --- collectd.spec => contrib/fedora/collectd.spec | 0 contrib/{init.d-rh7 => fedora/init.d-collectd} | 10 +++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) rename collectd.spec => contrib/fedora/collectd.spec (100%) rename contrib/{init.d-rh7 => fedora/init.d-collectd} (70%) mode change 100755 => 100644 diff --git a/collectd.spec b/contrib/fedora/collectd.spec similarity index 100% rename from collectd.spec rename to contrib/fedora/collectd.spec diff --git a/contrib/init.d-rh7 b/contrib/fedora/init.d-collectd old mode 100755 new mode 100644 similarity index 70% rename from contrib/init.d-rh7 rename to contrib/fedora/init.d-collectd index c7fe270d..2bf877c1 --- a/contrib/init.d-rh7 +++ b/contrib/fedora/init.d-collectd @@ -1,4 +1,13 @@ #!/bin/bash +# +# collectd Startup script for the Collectd statistics gathering daemon +# chkconfig: - 86 15 +# description: Collectd is a statistics gathering daemon used to collect \ +# system information ie. cpu, memory, disk, network +# processname: collectd +# config: /etc/collectd.conf +# config: /etc/sysconfig/collectd +# pidfile: /var/run/collectd.pid # Source function library. . /etc/init.d/functions @@ -42,7 +51,6 @@ case "$1" in ;; restart|reload) stop - sleep 1 start ;; condrestart) -- 2.11.0