Spec file update for rhel and suse (#655)

* Minor addition to spec remove msmilter on remove

* minor edit no need to send to /dev/null
This commit is contained in:
Shawn Iverson 2023-03-03 11:05:34 -05:00 committed by GitHub
parent dc51a77b19
commit 93f8f30ba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -624,6 +624,7 @@ if [ $1 = 0 ]; then
rm -f /usr/lib/systemd/system/ms-sendmail-out.service
systemctl stop msmilter.service >/dev/null 2>&1
systemctl disable msmilter.service >/dev/null 2>&1
rm -f /usr/lib/systemd/system/msmilter.service
else
service mailscanner stop >/dev/null 2>&1
service ms-sendmail stop >/dev/null 2>&1
@ -1280,6 +1281,9 @@ exit 0
%config(noreplace) /usr/share/MailScanner/reports/ca/stored.virus.message.txt
%changelog
* Thu Mar 02 2023 Shawn Iverson <shawniverson@efa-project.org>
- Remove msmilter.service on remove
* Sun Nov 20 2022 Shawn Iverson <shawniverson@efa-project.org>
- Drop local PMilter code from MailScanner (fixed upstream)

View file

@ -559,6 +559,7 @@ if [ $1 = 0 ]; then
rm -f /usr/lib/systemd/system/mailscanner.service
systemctl stop msmilter.service >/dev/null 2>&1
systemctl disable msmilter.service >/dev/null 2>&1
rm -f /usr/lib/systemd/system/msmilter.service
else
service mailscanner stop >/dev/null 2>&1
chkconfig mailscanner off
@ -1205,6 +1206,9 @@ exit 0
%config(noreplace) /usr/share/MailScanner/reports/ca/stored.virus.message.txt
%changelog
* Thu Mar 02 2023 Shawn Iverson <shawniverson@efa-project.org>
- Remove msmilter.service on remove
* Sun Nov 20 2022 Shawn Iverson <shawniverson@efa-project.org>
- Drop local PMilter code from MailScanner (fixed upstream)