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:
parent
5594a140e2
commit
3edb1c319b
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue