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

Change line match for service, make sure migrations have run

This commit is contained in:
tituspijean 2024-05-28 22:36:56 +00:00
parent 5594a140e2
commit 3edb1c319b
3 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
# It also initializes the database to allow creating the admin user
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Reading configuration from" --timeout=30
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="START TASK MANAGER" --timeout=30
#=================================================
# CREATING ADMIN USER

View file

@ -74,7 +74,7 @@ yunohost service add $app --description="Federated shared agenda for local commu
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" --log_path="systemd" --line_match="Reading configuration from" --timeout=30
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="START TASK MANAGER" --timeout=30
ynh_systemd_action --service_name=nginx --action=reload
#=================================================

View file

@ -81,7 +81,7 @@ popd
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Reading configuration from" --timeout=30
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="START TASK MANAGER" --timeout=30
#=================================================
# END OF SCRIPT