rss2email/scripts/entryPoint.sh
Dominik Meyer a89651e9d8
All checks were successful
continuous-integration/drone Build is passing
FIX: not creating directory
2024-01-23 10:47:17 +01:00

20 lines
353 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
mkdir -p /home/rss2email/.rss2email/
echo -e ${FEEDS} > /home/rss2email/.rss2email/feeds.txt
/app/rss2email daemon ${RECIPIENTS}