mirror of
https://github.com/linuxserver/docker-qbittorrent.git
synced 2025-06-28 01:12:24 -04:00
Remove qbt wrapper
This commit is contained in:
parent
5dabf23090
commit
77c3446685
2 changed files with 1 additions and 15 deletions
|
@ -23,7 +23,7 @@ common_param_env_vars_enabled: true
|
||||||
param_container_name: "{{ project_name }}"
|
param_container_name: "{{ project_name }}"
|
||||||
param_usage_include_vols: true
|
param_usage_include_vols: true
|
||||||
param_volumes:
|
param_volumes:
|
||||||
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/appdata/config", desc: "Contains all relevant configuration files." }
|
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/appdata", desc: "Contains all relevant configuration files." }
|
||||||
- { vol_path: "/downloads", vol_host_path: "/path/to/downloads", desc: "Location of downloads on disk." }
|
- { vol_path: "/downloads", vol_host_path: "/path/to/downloads", desc: "Location of downloads on disk." }
|
||||||
param_usage_include_ports: true
|
param_usage_include_ports: true
|
||||||
param_ports:
|
param_ports:
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/usr/bin/with-contenv bash
|
|
||||||
|
|
||||||
# qbt bash wrapper to prompt user when trying to save password
|
|
||||||
if [[ "$@" == "settings set password" ]]; then
|
|
||||||
echo "Setting password is not supported"
|
|
||||||
echo "Please use --ask-for-password or --password"
|
|
||||||
elif [[ "$@" == "settings set"* ]]; then
|
|
||||||
/qbt/qbt "$@"
|
|
||||||
elif [[ "$@" != *"--ask-for-password"* ]] && [[ "$@" != *"--password"* ]];then
|
|
||||||
echo "Please use --ask-for-password or --password and ensure username/url are set"
|
|
||||||
/qbt/qbt "$@"
|
|
||||||
else
|
|
||||||
/qbt/qbt "$@"
|
|
||||||
fi
|
|
Loading…
Add table
Add a link
Reference in a new issue