1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/komga_ynh.git synced 2024-09-03 19:36:07 +02:00

Merge pull request #10 from YunoHost-Apps/testing

reducing timeout
This commit is contained in:
Navan Chauhan 2021-03-09 17:36:58 +05:30 committed by GitHub
commit 5d20423495
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -8,6 +8,7 @@
},
"version": "0.77.3~ynh1",
"url": "https://komga.org",
"multi_instance": true,
"license": "MIT",
"maintainer": {
"name": "Navan Chauhan",

View file

@ -69,9 +69,9 @@ fi
# STOP SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action=stop --log_path="/var/log/$app/$app.log"
ynh_replace_string --match_string="$YNH_APP_OLD_PATH" --replace_string="$YNH_APP_NEW_PATH" --target_file="/etc/systemd/system/$app.service"
systemctl daemon-reload
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================

View file

@ -146,7 +146,7 @@ yunohost service add $app --description="Media server for your comics, manga and
ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Completed initialization" --timeout="800"
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Completed initialization" --timeout="120"
#=================================================
# SETUP SSOWAT

View file

@ -130,7 +130,7 @@ yunohost service add $app --description="Media server for your comics, manga and
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=2
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Completed initialization" --timeout="800"
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Completed initialization" --timeout="120"
#=================================================
# RELOAD NGINX