mirror of
https://github.com/YunoHost-Apps/qbittorrent_ynh.git
synced 2024-09-03 20:16:10 +02:00
3600 -> 60
This commit is contained in:
parent
909a5800b5
commit
17a9e3b7de
4 changed files with 3 additions and 19 deletions
|
@ -34,22 +34,6 @@ ram.runtime = "50M"
|
|||
type = "path"
|
||||
default = "/qbittorrent"
|
||||
|
||||
[install.admin]
|
||||
type = "user"
|
||||
|
||||
#[install.init_main_permission]
|
||||
## this is a generic question - ask strings are automatically handled by YunoHost's core
|
||||
## This won't be saved as setting and will instead be used to initialize the SSOwat permission
|
||||
#type = "group"
|
||||
#default = "admins"
|
||||
|
||||
#[install.password]
|
||||
## this is a generic question - ask strings are automatically handled by YunoHost's core
|
||||
## Note that user-provided passwords questions are not automatically saved as setting
|
||||
#help.en = "Use the help field to add an information for the admin about this question."
|
||||
#help.fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
|
||||
#type = "password"
|
||||
|
||||
[resources]
|
||||
[resources.system_user]
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ ynh_multimedia_addfolder --source_dir="$data_dir" --dest_dir="share/Torrents"
|
|||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action=start --line_match="Web UI: Now listening on IP: \*, port: $port" --log_path="$install_dir/.local/share/data/qBittorrent/logs/qbittorrent.log" --timeout=3600
|
||||
ynh_systemd_action --service_name=$app --action=start --line_match="Web UI: Now listening on IP: \*, port: $port" --log_path="$install_dir/.local/share/data/qBittorrent/logs/qbittorrent.log" --timeout=60
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -44,7 +44,7 @@ yunohost service add $app --description="qBittorrent-nox service" --log="$instal
|
|||
ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1
|
||||
|
||||
# Typically you only have either $app or php-fpm but not both at the same time...
|
||||
ynh_systemd_action --service_name=$app --action=start --line_match="Web UI: Now listening on IP: \*, port: $port" --log_path="$install_dir/.local/share/data/qBittorrent/logs/qbittorrent.log" --timeout=3600
|
||||
ynh_systemd_action --service_name=$app --action=start --line_match="Web UI: Now listening on IP: \*, port: $port" --log_path="$install_dir/.local/share/data/qBittorrent/logs/qbittorrent.log" --timeout=60
|
||||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action=start --line_match="Web UI: Now listening on IP: \*, port: $port" --log_path="$install_dir/.local/share/data/qBittorrent/logs/qbittorrent.log" --timeout=3600
|
||||
ynh_systemd_action --service_name=$app --action=start --line_match="Web UI: Now listening on IP: \*, port: $port" --log_path="$install_dir/.local/share/data/qBittorrent/logs/qbittorrent.log" --timeout=60
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Reference in a new issue