moving transmission control scripts out of configs and into openvpn start.sh, testing with PIA. Also updating PIA config list.

This commit is contained in:
Kristian Haugene
2016-04-09 19:02:03 +02:00
parent b60c515c36
commit 1be2b9fa43
37 changed files with 124 additions and 218 deletions

View File

@@ -45,4 +45,6 @@ echo $TRANSMISSION_RPC_PASSWORD >> /config/transmission-credentials.txt
# Persist transmission settings for use by transmission-daemon
dockerize -template /etc/transmission/environment-variables.tmpl:/etc/transmission/environment-variables.sh /bin/true
exec openvpn $OPENVPN_OPTS --config "$OPENVPN_CONFIG"
TRANSMISSION_CONTROL_OPTS="--script-security 2 --up /etc/transmission/start.sh --down /etc/transmission/stop.sh"
exec openvpn $TRANSMISSION_CONTROL_OPTS $OPENVPN_OPTS --config "$OPENVPN_CONFIG"