From 51f99526fe50cc1fd0197a92c51a307c2fbe21a1 Mon Sep 17 00:00:00 2001 From: denis Date: Fri, 15 Nov 2024 20:32:47 -0500 Subject: [PATCH] Update scripts/install --- scripts/install | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index d2c756a..5f9534a 100755 --- a/scripts/install +++ b/scripts/install @@ -33,13 +33,13 @@ ynh_script_progression "Adding system configurations related to $app..." ynh_config_add_nginx -ynh_add_systemd_config --service= "$app-backend" --template="$backend" +ynh_add_systemd_config --service= "${app}-backend" --template="$backend" -ynh_add_systemd_config --service= "$app-frontend" --template="$frontend" +ynh_add_systemd_config --service= "${app}-frontend" --template="$frontend" -yunohost service add "$app-backend" --description="a beautiful and performant vault to save all your files in the cloud" --log="/var/log/$app/$app.log" +yunohost service add "${app}-backend" --description="a beautiful and performant vault to save all your files in the cloud" --log="/var/log/$app/$app.log" -yunohost service add "$app-frontend" --description="a beautiful and performant vault to save all your files in the cloud" --log="/var/log/$app/$app.log" +yunohost service add "${app}-frontend" --description="a beautiful and performant vault to save all your files in the cloud" --log="/var/log/$app/$app.log" ynh_script_progression "Installing $app..." @@ -56,9 +56,9 @@ popd ynh_script_progression "Starting $app's systemd service..." -ynh_systemctl --service="$app-backend" --action="start" +ynh_systemctl --service="${app}-backend" --action="start" -ynh_systemctl --service="$app-frontend" --action="start" +ynh_systemctl --service="${app}-frontend" --action="start" #================================================= # END OF SCRIPT