mirror of
https://github.com/YunoHost-Apps/qbittorrent_ynh.git
synced 2024-09-03 20:16:10 +02:00
main permission is protected
This commit is contained in:
parent
1df73b867d
commit
a65f4f20d7
6 changed files with 5 additions and 6 deletions
|
@ -1,3 +1,3 @@
|
||||||
The app install dir is `__INSTALL_DIR__`
|
The app install dir is `__INSTALL_DIR__`
|
||||||
|
|
||||||
You should keep this application private, and only allow access to trusted people.
|
You should only allow access to trusted people.
|
|
@ -1,3 +1,3 @@
|
||||||
Le dossier d'install de l'app est `__INSTALL_DIR__`
|
Le dossier d'install de l'app est `__INSTALL_DIR__`
|
||||||
|
|
||||||
Vous devriez garder cette application privée, et n'en autoriser l'accès qu'aux personnes de confiance.
|
Vous devriez n'autoriser l'accès qu'aux personnes de confiance.
|
|
@ -1 +1 @@
|
||||||
You should keep this application private, and only allow access to trusted people.
|
You should only allow access to trusted people.
|
|
@ -1 +1 @@
|
||||||
Vous devriez garder cette application privée, et n'en autoriser l'accès qu'aux personnes de confiance.
|
Vous devriez n'autoriser l'accès qu'aux personnes de confiance.
|
|
@ -59,6 +59,7 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
main.protected = true
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
main.default = 30000
|
main.default = 30000
|
||||||
|
|
|
@ -25,8 +25,6 @@ yunohost service add $app --description="qBittorrent-nox service" --log="$instal
|
||||||
# Use logrotate to manage application logfile(s)
|
# Use logrotate to manage application logfile(s)
|
||||||
ynh_use_logrotate
|
ynh_use_logrotate
|
||||||
|
|
||||||
ynh_permission_update --permission "main" --add "$admin"
|
|
||||||
|
|
||||||
mkdir -p "$install_dir/.config/qBittorrent/"
|
mkdir -p "$install_dir/.config/qBittorrent/"
|
||||||
|
|
||||||
ynh_add_config --template="../conf/qBittorrent.conf" --destination="$install_dir/.config/qBittorrent/qBittorrent.conf"
|
ynh_add_config --template="../conf/qBittorrent.conf" --destination="$install_dir/.config/qBittorrent/qBittorrent.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue