diff --git a/scripts/install b/scripts/install index f10f8d3..d812e5f 100755 --- a/scripts/install +++ b/scripts/install @@ -33,9 +33,9 @@ ynh_script_progression "Adding system configurations related to $app..." ynh_config_add_nginx -ynh_config_add_systemd --service= "${app}-backend" --template="backend" +ynh_config_add_systemd --service= "${app}-backend" --template="backend.service" -ynh_config_add_systemd --service= "${app}-frontend" --template="frontend" +ynh_config_add_systemd --service= "${app}-frontend" --template="frontend.service" 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" diff --git a/scripts/upgrade b/scripts/upgrade index c981d08..4ddd9b7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -34,9 +34,9 @@ ynh_script_progression "Upgrading system configurations related to $app..." ynh_config_add_nginx -ynh_config_add_systemd --service= "${app}-backend" --template="backend" +ynh_config_add_systemd --service= "${app}-backend" --template="backend.service" -ynh_config_add_systemd --service= "${app}-frontend" --template="frontend" +ynh_config_add_systemd --service= "${app}-frontend" --template="frontend.service" 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"