piler/util/import.sh

13 lines
225 B
Bash
Raw Normal View History

2013-08-23 13:46:27 +02:00
#!/bin/bash
set -o errexit
set -o pipefail
export PATH=$PATH:/usr/libexec/piler:/usr/local/libexec/piler
2013-08-23 13:46:27 +02:00
pushd /var/piler/imap
2013-08-23 13:46:27 +02:00
[[ "${FLOCKER}" != "$0" ]] && exec env FLOCKER="$0" flock -en "$0" "$0" "$@"
imapfetch.py -i