rss2email/scripts/entryPoint.sh
2024-01-23 10:28:33 +01:00

20 lines
317 B
Bash
Executable File

#!/bin/bash
/createMSMTPconfig.sh
if [ -z ${RECIPIENTS} ]; then
echo "RECIPIENTS environment variable missing"
exit 255
fi
if [ -z ${FEEDS} ]; then
echo "FEEDS environment variable missing"
exit 255
fi
echo -e ${FEEDS} > /home/rss2email/.rss2email/feeds.txt
/app/rss2email daemon ${RECIPIENTS}