rss2email/scripts/entryPoint.sh

19 lines
302 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
2024-01-23 09:34:15 +01:00
echo -e ${FEEDS} > ~/.rss2email/feeds.txt
2023-12-20 13:37:33 +01:00
/app/rss2email daemon ${RECIPIENTS}