1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/radarr_ynh.git synced 2024-09-03 20:16:13 +02:00

Add timeout to service start commands

This commit is contained in:
tituspijean 2021-12-18 20:29:14 +01:00
parent a9508a1d8d
commit 3a60c08ca1
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 3 additions and 3 deletions

View file

@ -168,7 +168,7 @@ yunohost service add $app --description="Radarr daemon" --log="$data_path/logs/r
ynh_script_progression --message="Starting a systemd service..." --weight=2
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server" --timeout=30
#=================================================
# SETUP SSOWAT

View file

@ -123,7 +123,7 @@ yunohost service add $app --description="Radarr daemon" --log="$data_path/logs/r
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=2
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server" --timeout=30
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION

View file

@ -154,7 +154,7 @@ yunohost service add $app --description="Radarr daemon" --log="$data_path/logs/r
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=2
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting Web Server" --timeout=30
#=================================================
# RELOAD NGINX