rss2email/scripts/entryPoint.sh

19 lines
321 B
Bash
Raw Normal View History

2023-12-20 13:37:33 +01:00
#!/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
mkdir -p ~/.rss2email/
echo ${FEEDS} > ~/.rss2email/feeds.txt
/app/rss2email daemon ${RECIPIENTS}