docker-qbittorrent/root/run.sh
2021-11-16 18:37:29 +00:00

11 lines
251 B
Bash
Executable file

#!/bin/sh
_command=/usr/bin/qbittorrent-nox
_config_file=/config/qBittorrent.conf
_config_example=/default/qBittorrent.conf
if [ ! -f "${_config_file}" ]; then
install -p -m 664 "${_config_example}" "${_config_file}"
fi
exec "${_command}" "$@"