1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ethercalc_ynh.git synced 2024-09-03 18:26:36 +02:00

Update restore

This commit is contained in:
ericgaspar 2021-04-20 21:36:55 +02:00
parent dc9add7e1b
commit 9bc7fc91ce
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -92,14 +92,14 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_script_progression --message="Restoring the systemd configuration..." --weight=1
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service
systemctl enable $app.service --quiet
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description "A short description of the app" --log "/var/log/$app/$app.log"
yunohost service add $app --description "Collaborative spreadsheet editor" --log "/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE