mirror of
https://github.com/YunoHost-Apps/radarr_ynh.git
synced 2024-09-03 20:16:13 +02:00
Add sleep after upgrade
This commit is contained in:
parent
5655723a12
commit
aec5621dc2
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ yunohost service add $app --description="Radarr daemon" --log="$data_dir/logs/ra
|
|||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started" --timeout=30
|
||||
# We might need to wait a bit further for migrations to finish
|
||||
sleep 5
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue