This would still be a useful change to have in bullseye.
At the moment I just run this after installing mpt-status...
sed -n 's/^\(MAILTO=\|PERIOD=\|REMIND=\|RUN_DAEMON=\|ID=\)/#\1/p'
/etc/init.d/mpt-statusd > /etc/default/mpt-statusd
That way I have a slightly easier way of editing such options like
MAILTO= (for which e-mail address to send alerts to) or ID= (for which
RAID controller the service should watch)
On Thu, 26 Feb 2015 10:49:58 + Chris Lewis wrote:
> Package: mpt-status
> Version: 1.2.0-7
> Severity: normal
>
> Dear Maintainer,
>
> It would be nice to have a /etc/default/mpt-statusd file created with #'d out
> options
> particularly the ID parameter for the controller. It would make setting up
> the program
> far more obvious.
>
> This would be a good template for it
>
> #MAILTO=root # Where to report problems
> #PERIOD=600# Seconds between each check(default 10 minutes)
> #REMIND=7200 # Seconds between each reminder (default 2 hours)
> #RUN_DAEMON=yes
> #ID=0
>
>
>
> Cheers!
>
>
> *** Please consider answering these questions, where appropriate ***
>
>* What led up to the situation?
>* What exactly did you do (or not do) that was effective (or
> ineffective)?
>* What was the outcome of this action?
>* What outcome did you expect instead?
>
> *** End of the template - remove these lines ***
>
>
> -- System Information:
> Debian Release: 7.8
> APT prefers stable
> APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages mpt-status depends on:
> ii daemon0.6.4-1
> ii libc6 2.13-38+deb7u8
> ii lsb-base 4.1+Debian8+deb7u1
>
> mpt-status recommends no packages.
>
> Versions of packages mpt-status suggests:
> ii bsd-mailx [mailx] 8.1.2-0.2006cvs-1+deb7u1
>
> -- no debconf information
>
>
--
Steven Maddox
Lantizia