mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-11 00:37:08 +02:00
14 lines
489 B
Bash
Executable File
14 lines
489 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Source our persisted env variables from container startup
|
|
dockerize -template /etc/transmission-rss/environment-variables.tmpl:/etc/transmission-rss/environment-variables.sh
|
|
. /etc/transmission-rss/environment-variables.sh
|
|
|
|
if [ -z "${RSS_URL}" ] || [ "${RSS_URL}" = "**None**" ] ; then
|
|
echo "NO RSS URL CONFIGURED, IGNORING"
|
|
else
|
|
dockerize -template /etc/transmission-rss/transmission-rss.tmpl:/etc/transmission-rss.conf
|
|
echo "STARTING RSS PLUGIN"
|
|
transmission-rss
|
|
fi
|