mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
15 lines
443 B
Bash
Executable File
15 lines
443 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -f /config/transmission/settings.json ];
|
|
then
|
|
echo "STARTING TRANSMISSION: Using custom config directory /config/transmission"
|
|
exec /usr/bin/transmission-daemon -g /config/transmission/ &
|
|
else
|
|
echo "STARTING TRANSMISSION: No configuration provided, using defaults"
|
|
exec /usr/bin/transmission-daemon -g /etc/transmission-daemon/ &
|
|
fi
|
|
|
|
exec /etc/transmission-daemon/startPortUpdates.sh &
|
|
|
|
echo "STARTED PORT UPDATER"
|