1
0
Fork 0
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:
Kay0u 2023-03-02 17:47:09 +01:00
parent 1df73b867d
commit a65f4f20d7
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156
6 changed files with 5 additions and 6 deletions

View file

@ -1,3 +1,3 @@
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.

View file

@ -1,3 +1,3 @@
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.

View file

@ -1 +1 @@
You should keep this application private, and only allow access to trusted people.
You should only allow access to trusted people.

View file

@ -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.

View file

@ -59,6 +59,7 @@ ram.runtime = "50M"
[resources.permissions]
main.url = "/"
main.protected = true
[resources.ports]
main.default = 30000

View file

@ -25,8 +25,6 @@ yunohost service add $app --description="qBittorrent-nox service" --log="$instal
# Use logrotate to manage application logfile(s)
ynh_use_logrotate
ynh_permission_update --permission "main" --add "$admin"
mkdir -p "$install_dir/.config/qBittorrent/"
ynh_add_config --template="../conf/qBittorrent.conf" --destination="$install_dir/.config/qBittorrent/qBittorrent.conf"