diff --git a/scripts/change_url b/scripts/change_url index c8d17a9..10d1fd9 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -109,7 +109,7 @@ ynh_replace_string "$old_domain" "$new_domain" "$final_path/$app/.env" # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started plume" #================================================= # STORE THE CONFIG FILE CHECKSUM diff --git a/scripts/install b/scripts/install index 0552f38..a6d1159 100755 --- a/scripts/install +++ b/scripts/install @@ -128,8 +128,7 @@ db_pwd=$(ynh_string_random 30) ynh_app_setting_set $app db_name $db_name ynh_app_setting_set "$app" db_pwd "$db_pwd" ynh_psql_create_user "$db_name" "$db_pwd" -ynh_psql_execute_as_root \ -"CREATE DATABASE $db_name ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' template=template0 OWNER $db_name;" +ynh_psql_execute_as_root "CREATE DATABASE $db_name ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' template=template0 OWNER $db_name;" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -379,7 +378,7 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started plume" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 4ede30e..ca7e4ae 100755 --- a/scripts/restore +++ b/scripts/restore @@ -157,7 +157,7 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started plume" #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index e355cd4..d1df2c9 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -233,7 +233,7 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started plume" #================================================= # END OF SCRIPT