summarylogtreecommitdiffstats
path: root/mailman-nightlygzip.service
diff options
context:
space:
mode:
Diffstat (limited to 'mailman-nightlygzip.service')
-rw-r--r--mailman-nightlygzip.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/mailman-nightlygzip.service b/mailman-nightlygzip.service
new file mode 100644
index 000000000000..efbac73d3f2a
--- /dev/null
+++ b/mailman-nightlygzip.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Compression of mailman archive files
+Documentation=file:///usr/lib/mailman/cron/crontab.in
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/nightly_gzip
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7