]> git.pld-linux.org Git - packages/mailman.git/blob - mailman-cron.patch
Rel 2; don't restart mailman on logrotate; use its reopen mechanism instead
[packages/mailman.git] / mailman-cron.patch
1 diff -urNp -x '*.orig' mailman-2.1.34.org/cron/bumpdigests mailman-2.1.34/cron/bumpdigests
2 --- mailman-2.1.34.org/cron/bumpdigests 2020-06-27 02:21:21.000000000 +0200
3 +++ mailman-2.1.34/cron/bumpdigests     2021-10-23 13:32:45.963703728 +0200
4 @@ -1,4 +1,4 @@
5 -#! @PYTHON@
6 +#! @PYTHON@ -S
7  #
8  # Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
9  #
10 diff -urNp -x '*.orig' mailman-2.1.34.org/cron/checkdbs mailman-2.1.34/cron/checkdbs
11 --- mailman-2.1.34.org/cron/checkdbs    2020-06-27 02:21:21.000000000 +0200
12 +++ mailman-2.1.34/cron/checkdbs        2021-10-23 13:32:45.963703728 +0200
13 @@ -1,4 +1,4 @@
14 -#! @PYTHON@
15 +#! @PYTHON@ -S
16  #
17  # Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
18  #
19 diff -urNp -x '*.orig' mailman-2.1.34.org/cron/crontab.in.in mailman-2.1.34/cron/crontab.in.in
20 --- mailman-2.1.34.org/cron/crontab.in.in       2020-06-27 02:21:21.000000000 +0200
21 +++ mailman-2.1.34/cron/crontab.in.in   2021-10-23 13:32:45.963703728 +0200
22 @@ -1,27 +1,27 @@
23  # At 8AM every day, mail reminders to admins as to pending requests.
24  # They are less likely to ignore these reminders if they're mailed
25  # early in the morning, but of course, this is local time... ;)
26 -0 8 * * * @PYTHON@ -S @prefix@/cron/checkdbs
27 +0 8 * * * @MAILMAN_USER@ @prefix@/cron/checkdbs
28  #
29  # At 9AM, send notifications to disabled members that are due to be
30  # reminded to re-enable their accounts.
31 -0 9 * * * @PYTHON@ -S @prefix@/cron/disabled
32 +0 9 * * * @MAILMAN_USER@ @prefix@/cron/disabled
33  #
34  # Noon, mail digests for lists that do periodic as well as threshhold delivery.
35 -0 12 * * * @PYTHON@ -S @prefix@/cron/senddigests
36 +0 12 * * * @MAILMAN_USER@ @prefix@/cron/senddigests
37  #
38  # 5 AM on the first of each month, mail out password reminders.
39 -0 5 1 * * @PYTHON@ -S @prefix@/cron/mailpasswds
40 +0 5 1 * * @MAILMAN_USER@ @prefix@/cron/mailpasswds
41  #
42  # Every 5 mins, try to gate news to mail.  You can comment this one out
43  # if you don't want to allow gating, or don't have any going on right now,
44  # or want to exclusively use a callback strategy instead of polling.
45 -0,5,10,15,20,25,30,35,40,45,50,55 * * * * @PYTHON@ -S @prefix@/cron/gate_news
46 +0,5,10,15,20,25,30,35,40,45,50,55 * * * * @MAILMAN_USER@ @prefix@/cron/gate_news
47  #
48  # At 3:27am every night, regenerate the gzip'd archive file.  Only
49  # turn this on if the internal archiver is used and
50  # GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
51 -27 3 * * * @PYTHON@ -S @prefix@/cron/nightly_gzip
52 +27 3 * * * @MAILMAN_USER@ @prefix@/cron/nightly_gzip
53  #
54  # At 4:30AM daily, cull old entries from the 'bad' and 'shunt' queues.
55 -30 4 * * * @PYTHON@ -S @prefix@/cron/cull_bad_shunt
56 +30 4 * * * @MAILMAN_USER@ @prefix@/cron/cull_bad_shunt
57 diff -urNp -x '*.orig' mailman-2.1.34.org/cron/disabled mailman-2.1.34/cron/disabled
58 --- mailman-2.1.34.org/cron/disabled    2020-06-27 02:21:21.000000000 +0200
59 +++ mailman-2.1.34/cron/disabled        2021-10-23 13:32:45.963703728 +0200
60 @@ -1,4 +1,4 @@
61 -#! @PYTHON@
62 +#! @PYTHON@ -S
63  #
64  # Copyright (C) 2001-2018 by the Free Software Foundation, Inc.
65  #
66 diff -urNp -x '*.orig' mailman-2.1.34.org/cron/gate_news mailman-2.1.34/cron/gate_news
67 --- mailman-2.1.34.org/cron/gate_news   2020-06-27 02:21:21.000000000 +0200
68 +++ mailman-2.1.34/cron/gate_news       2021-10-23 13:32:45.963703728 +0200
69 @@ -1,4 +1,4 @@
70 -#! @PYTHON@
71 +#! @PYTHON@ -S
72  #
73  # Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
74  #
75 diff -urNp -x '*.orig' mailman-2.1.34.org/cron/mailpasswds mailman-2.1.34/cron/mailpasswds
76 --- mailman-2.1.34.org/cron/mailpasswds 2020-06-27 02:21:21.000000000 +0200
77 +++ mailman-2.1.34/cron/mailpasswds     2021-10-23 13:32:45.963703728 +0200
78 @@ -1,4 +1,4 @@
79 -#! @PYTHON@
80 +#! @PYTHON@ -S
81  #
82  # Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
83  #
84 diff -urNp -x '*.orig' mailman-2.1.34.org/cron/nightly_gzip mailman-2.1.34/cron/nightly_gzip
85 --- mailman-2.1.34.org/cron/nightly_gzip        2020-06-27 02:21:21.000000000 +0200
86 +++ mailman-2.1.34/cron/nightly_gzip    2021-10-23 13:32:45.963703728 +0200
87 @@ -1,4 +1,4 @@
88 -#! @PYTHON@
89 +#! @PYTHON@ -S
90  # 
91  # Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
92  #
93 diff -urNp -x '*.orig' mailman-2.1.34.org/cron/senddigests mailman-2.1.34/cron/senddigests
94 --- mailman-2.1.34.org/cron/senddigests 2020-06-27 02:21:21.000000000 +0200
95 +++ mailman-2.1.34/cron/senddigests     2021-10-23 13:32:45.963703728 +0200
96 @@ -1,4 +1,4 @@
97 -#! @PYTHON@
98 +#! @PYTHON@ -S
99  #
100  # Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
101  #
This page took 0.143881 seconds and 3 git commands to generate.