mirror of
https://github.com/MailScanner/v5.git
synced 2024-11-10 09:13:31 +08:00
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:
parent
dc51a77b19
commit
93f8f30ba6
2 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue