[PATCH] Silence logrotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Silence logrotates restart of the func daemon to prevent sending mails
when run through cron.

http://github.com/ixs/func/commit/dc453d79a9ef114a2ff8c334daf62e8d66b2208d/

 func_rotate |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



cheers,
 andreas
diff --git a/etc/func_rotate b/etc/func_rotate
index 2b05888..b48b8ab 100644
--- a/etc/func_rotate
+++ b/etc/func_rotate
@@ -5,7 +5,7 @@
    weekly
    postrotate
       if [ -f /var/lock/subsys/funcd ]; then
-         /etc/init.d/funcd condrestart
+         /etc/init.d/funcd condrestart > /dev/null
       fi
    endscript
 }
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux