Let me see how we can add this into the Maatkit distribution itself.

Really I would like to see the following: init scripts for
daemonizable tools; ability to make them log their stdout and stderr
to a log file; and a configuration file, such as
/etc/maatkit/maatkit.conf and /etc/maatkit/mk-slave-delay.conf.  The
latter two should work similarly to mysql's config files, although I
am not sure I want to have [section] markers in files -- just keep
each tool's config in a separate file.

What do you think about this?

And if you agree, let's add bug reports to the project's upstream bug
tracker: http://code.google.com/p/maatkit/issues/list

On Tue, Jan 13, 2009 at 1:01 PM, Bart Cortooms <b...@kumina.nl> wrote:
> Package: maatkit
> Version: 2442-1
> Severity: wishlist
> Tags: patch
>
> Hi,
>
> The following patch for the Debian package of Maatkit adds an init script for
> mk-slave-delay, which makes it easy to automatically start mk-slave-delay on
> every boot.  The init script is disabled by default, and can be enabled by
> editing /etc/default/mk-slave-delay.
>
> >From the added README.Debian:
>
>        This package contains an init script for automatically starting
> mk-slave-delay(1p) on every boot, which is disabled by default.  To
> enable it, edit /etc/default/mk-slave-delay and set START to "yes".  You
> can change the value of DAEMON_OPTS to set mk-slave-delay arguments such
> as the delay time.
>
> There are still some improvements which could be made, such as logging
> the output to a logfile, and adding support for a .pid file (which would
> probably require changes to mk-slave-delay), but I figured it might be useful
> to others in its current form already.
>
> Is this something you would be willing to add to the Debian package?
>
> --
>        Bart
>



-- 
Baron Schwartz, Director of Consulting, Percona Inc.
Our Blog: http://www.mysqlperformanceblog.com/
Our Services: http://www.percona.com/services.html



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to