From: Sven Hoexter Date: Wed, 30 Jul 2014 09:26:47 +0000 (+0200) Subject: - Remove depdency on daemonize, if you'd like to use X-Git-Tag: 1.2.0-4~9 X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fmpt-status.git;a=commitdiff_plain;h=d9a242b63a4fa60dedc856ecce23c714a3f55cfc - Remove depdency on daemonize, if you'd like to use the init script monitoring you've to aquire it yourself. - Modified the init script to not be started by default. --- diff --git a/mpt-status.init b/mpt-status.init index b5fa7ca..7fd67c9 100644 --- a/mpt-status.init +++ b/mpt-status.init @@ -6,7 +6,7 @@ # mpt-statusd - Check mpt-status values in the background. # -# chkconfig: 345 60 50 +# chkconfig: - # description: Check mpt-status values in the background \ # using daemonize and the mpt-status utility. @@ -14,8 +14,6 @@ # Provides: mpt-statusd # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 # Short-Description: Check mpt-status values in the background. ### END INIT INFO diff --git a/mpt-status.spec b/mpt-status.spec index bf5a816..2d20836 100644 --- a/mpt-status.spec +++ b/mpt-status.spec @@ -1,7 +1,7 @@ Summary: Get RAID status out of mpt (and other) HW RAID controllers Name: mpt-status Version: 1.2.0 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.drugphish.ch/~ratz/mpt-status/ @@ -10,7 +10,6 @@ Source10: mpt-status.init Patch1: mpt-status.header_path.patch Patch2: mpt-status.includes.patch BuildRequires: pciutils-devel -Requires: daemonize Requires (preun): /sbin/chkconfig Requires (preun): /sbin/service Requires (post): /sbin/chkconfig @@ -52,6 +51,12 @@ you to monitor the health and status of your RAID setup. /sbin/chkconfig --del mpt-statusd %changelog +* Wed Jul 30 2014 Sven Hoexter - 1.2.0-4 +- Changed chkconfig and LSB header to not activate the init script + by default. +- Removed depedency on daemonize, if you would like to use + the init script monitoring facility you have to aquire a + daemonize by yourself. * Sun Oct 16 2011 Sven Hoexter - 1.2.0-3 - Add mpt-status.init as Source10 and install it into the package. - Require daemonize and chkconfig/service for post/preun.