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}
|