mirror of
https://github.com/chillout2k/ExOTA-Milter.git
synced 2025-12-13 10:20:18 +00:00
16 lines
375 B
Bash
16 lines
375 B
Bash
#!/bin/sh
|
|
|
|
if [ ! -e /etc/exota-milter/exota-milter.conf ]; then
|
|
echo "Missing /etc/exota-milter/exota-milter.conf!"
|
|
exit 1;
|
|
fi
|
|
|
|
if [ ! -e /etc/exota-milter/exota-milter-policy.json ]; then
|
|
echo "Missing /etc/exota-milter/exota-milter-policy.json!"
|
|
exit 1;
|
|
fi
|
|
|
|
. /etc/exota-milter/exota-milter.conf
|
|
|
|
exec /usr/bin/python3 /usr/local/exota-milter/exota-milter.py 2>&1
|