]> git.pld-linux.org Git - packages/exim-lite.git/blame - exim.cron.db
- rel 3
[packages/exim-lite.git] / exim.cron.db
CommitLineData
566d3faa
AM
1#!/bin/sh
2cd /
bf9f3fe2
AM
3
4SPOOLDIR="$(/usr/bin/exim -bP spool_directory | /bin/sed 's/.*=[[:space:]]\(.*\)/\1/')"
5
6[ ! -d "$SPOOLDIR" ] && echo "Spooldir [$SPOOLDIR] is not a directory" && exit 1
7
299bec57 8/usr/bin/find $SPOOLDIR/db -maxdepth 1 -name '*.lockfile' -or -type f -printf '%f\0' | xargs -0r -n 1 /usr/bin/exim_tidydb $SPOOLDIR > /dev/null
495983b2
AM
9
10exit 0
This page took 0.077443 seconds and 4 git commands to generate.