rss2email/scripts/entryPoint.sh

20 lines
353 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
2024-01-23 10:47:17 +01:00
mkdir -p /home/rss2email/.rss2email/
2024-01-23 10:28:33 +01:00
echo -e ${FEEDS} > /home/rss2email/.rss2email/feeds.txt
2023-12-20 13:37:33 +01:00
/app/rss2email daemon ${RECIPIENTS}