]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Invoke dma-migrate if present before flushing the queue.
authorPeter Pentchev <roam@ringlet.net>
Tue, 15 Jun 2010 11:01:57 +0000 (11:01 +0000)
committerPeter Pentchev <roam@ringlet.net>
Tue, 15 Jun 2010 11:01:57 +0000 (11:01 +0000)
changelog
dma.cron.d

index 9d4b6355b46eb906f98302532e9d1e6aa9b0412c..5f58064fc2a7cc2f41216271dceb9cb578746396 100644 (file)
--- a/changelog
+++ b/changelog
@@ -24,6 +24,7 @@ dma (0.0.2009.08.29-1) UNRELEASED; urgency=low
     dpkg-buildpackage to set them by default.
   * Add the dma-migrate utility (in a separate binary package) to convert
     spool files to the new queue format (M* and Q* files for each message)
+  * Add a dma-migrate invocation to dma.cron.d
 
  -- Peter Pentchev <roam@ringlet.net>  Wed, 02 Jun 2010 14:10:05 +0300
 
index a3df66f924b5b034c8bf79b61a80a0986ca84dd1..ad4f0594fb6b54da00a2cb0c9c9f3d846062587d 100644 (file)
@@ -1,3 +1,3 @@
 # Flush the dma mail transfer agent's queue every five minutes.
 #
-*/5 *  * * *   root    [ -x /usr/sbin/dma ] && /usr/sbin/dma -q1
+*/5 *  * * *   root    [ -x /usr/sbin/dma-migrate ] && /usr/sbin/dma-migrate; [ -x /usr/sbin/dma ] && /usr/sbin/dma -q1