Renamed files in repo that end up as start.sh inside container to start.sh in the repo too.

Updated all piaconfigs to force tun0
This commit is contained in:
Ian Neubert
2015-05-23 09:06:08 -07:00
parent 447ec74717
commit 01cec65568
29 changed files with 28 additions and 28 deletions

14
transmission/start.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ -f /data/transmission-data/settings.json ]
then
echo "STARTING TRANSMISSION: Using transmission-data subdirectory to your /data mount point to store state."
exec /usr/bin/transmission-daemon -g /data/transmission-data/ &
else
echo "STARTING TRANSMISSION: Storing state in container only."
exec /usr/bin/transmission-daemon -g /etc/transmission-daemon/ &
fi
exec /etc/transmission-daemon/startPortUpdates.sh &
echo "STARTED PORT UPDATER"