Skip to content

Commit

Permalink
turn of logging for clamd, freshclam before removal
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed Jun 27, 2024
1 parent f07ed06 commit c6fefa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions indimail-mta-x/doc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Release @version@-@release@ Start 05/02/2024 End XX/XX/XXXX
18. indimail-mta.spec.in: remove glibc-static in buildrequires for mageia
- 16/06/2024
19. udplogger.c: BUG: fixed SIGFPE when n=0
- 27/06/2024
20. indimail-mta.spec.in: turn of logging for clamd, freshclam before removal

* Sun Mar 03 2024 12:20:15 +0000 Manvendra Bhangui <indimail-mta@indimail.org> 3.0.7-1.1%{?dist}
Release 3.0.7-1.1 Start 02/01/2024 End 03/02/2024
Expand Down
7 changes: 4 additions & 3 deletions indimail-mta-x/indimail-mta.spec.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
# $Id: indimail-mta.spec.in,v 1.404 2024-06-23 23:53:42+05:30 Cprogrammer Exp mbhangui $
# $Id: indimail-mta.spec.in,v 1.405 2024-06-27 21:33:53+05:30 Cprogrammer Exp mbhangui $
%undefine _missing_build_ids_terminate_build
%global _unpackaged_files_terminate_build 1

Expand Down Expand Up @@ -1617,11 +1617,11 @@ for i in qmail-send.25 qmail-smtpd.25 qmail-smtpd.366 \
do
if [ -d %{servicedir}/$i -o -L %{servicedir}/$i ] ; then
touch %{servicedir}/$i/down
svc -dx %{servicedir}/$i
%{_prefix}/bin/svc -dx %{servicedir}/$i
fi
if [ -d %{servicedir}/$i/log -o -L %{servicedir}/$i/log ] ; then
touch %{servicedir}/$i/log/down
svc -dx %{servicedir}/$i/log
%{_prefix}/bin/svc -dx %{servicedir}/$i/log
fi
if [ -d %{servicedir}/$i -o -L %{servicedir}/$i ] ; then
%{__rm} -rf %{servicedir}/$i || true
Expand Down Expand Up @@ -1696,6 +1696,7 @@ log_it "removing svscan supervised startup services"
if [ -f /usr/sbin/clamd -a -f /usr/bin/clamdscan ] ; then
for i in clamd freshclam
do
%{_prefix}/bin/svc -dx %{servicedir}/$i %{servicedir}/$i/log
if [ -d %{servicedir}/$i ] ; then
%{__rm} -rf %{servicedir}/$i || true
elif [ -L %{servicedir}/$i ] ; then
Expand Down

0 comments on commit c6fefa8

Please sign in to comment.