mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:41:59 +01:00
3b3d0157ca
Signed-off-by: Janos SUTO <sj@acts.hu>
15 lines
233 B
Bash
Executable File
15 lines
233 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o nounset
|
|
set -o errexit
|
|
set -o pipefail
|
|
|
|
export PATH=$PATH:/usr/libexec/piler:/usr/local/libexec/piler
|
|
|
|
pushd /var/piler/imap
|
|
|
|
exec 200 > "/tmp/${0}-lock" || exit 1
|
|
flock 200 || exit 1
|
|
imapfetch.py -i
|
|
flock -u 200
|