mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
01cec65568
Updated all piaconfigs to force tun0
15 lines
467 B
Bash
Executable File
15 lines
467 B
Bash
Executable File
#!/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"
|