[Bug 526311] Review Request: mysql-mmm - Multi-Master Replication Manager for MySQL
bugzilla at redhat.com
bugzilla at redhat.com
Thu Nov 19 11:02:46 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=526311
--- Comment #17 from Ruben Kerkhof <ruben at rubenkerkhof.com> 2009-11-19 06:02:45 EDT ---
Oh, and 2 more ;-)
> %post agent
> /sbin/chkconfig --add mysql-mmm-agent
> /sbin/chkconfig mysql-mmm-agent off
> if [ $1 -eq 2 ] ; then
> /sbin/service mysql-mmm-agent status >/dev/null
> if [ $? = 0 ]; then
> /sbin/service mysql-mmm-agent restart
> fi
>fi
This sets the mysql-mmm-agent service to off at an update of the package.
> %preun agent
> if [ $1 = 0 ]; then
Use -eq here
> %preun monitor
> if [ $1 = 0 ]; then
Same here
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list