1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nocodb_ynh.git synced 2024-09-03 19:56:01 +02:00

Fix service start

This commit is contained in:
tituspijean 2023-01-28 20:03:04 +01:00
parent 59588e9bb3
commit 05ee5a3e84
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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