Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. Summary: Review Request: openais standards based cluster framework https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192889 ------- Additional Comments From paul@xxxxxxxxxxxx 2006-06-09 06:33 EST ------- (In reply to comment #40) > Thanks for the link about scriptlets. I haven't seen this link before. I > believe I have the condrestart code wrong (according to the scriptlet docs). > > Do I need something like? > %postun > if [ "$1" -ge "1" ]; then > /sbin/service openais condrestart >/dev/null 2>&1 ||: > fi > > the current code looks like: > %post > /sbin/chkconfig --add openais || : > /sbin/service openais condrestart || : Yes, though could make it a one-liner: %postun [ "$1" -ge "1" ] && /sbin/service openais condrestart &>/dev/null || : /sbin/service would then be needed in Requires(preun) and Requires(postun) - don't forget to remove the condrestart from %post. -- Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review