diff --git a/scripts/install b/scripts/install index 422d385..15ec1d6 100755 --- a/scripts/install +++ b/scripts/install @@ -152,7 +152,7 @@ chown $app:$app "$final_path/.env" ynh_script_progression --message="Configuring a systemd service..." --weight=1 if [ $YNH_ARCH == "arm64" ] || [ $YNH_ARCH == "amd64" ]; then - nocodb_startcommand="nocodb" + nocodb_startcommand="$final_path/nocodb" else nocodb_startcommand="$ynh_node index.js" fi diff --git a/scripts/upgrade b/scripts/upgrade index ccc23e0..0064c24 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -137,7 +137,7 @@ fi ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 if [ $YNH_ARCH == "arm64" ] || [ $YNH_ARCH == "amd64" ]; then - nocodb_startcommand="nocodb" + nocodb_startcommand="$final_path/nocodb" else nocodb_startcommand="$ynh_node index.js" fi