1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Add time for service to start

This commit is contained in:
yalh76 2019-02-01 04:39:26 +01:00
parent c694f22916
commit 3b09ec9f12
3 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,6 @@ ynh_replace_string "$old_domain" "$new_domain" "$final_path/$app/config/prod.sec
# Start pleroma after modification
yunohost service start $app
sleep 30
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
@ -117,3 +116,4 @@ ynh_store_file_checksum "$final_path/$app/config/prod.secret.exs"
#=================================================
systemctl reload nginx
sleep 30

View file

@ -402,4 +402,4 @@ systemctl reload nginx
#=================================================
yunohost service start $app
sleep 10
sleep 30

View file

@ -158,4 +158,4 @@ systemctl reload nginx
#=================================================
yunohost service start $app
sleep 10
sleep 30