1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gancio_ynh.git synced 2024-09-03 20:36:19 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2023-10-06 15:02:39 +02:00
parent 75fa92387d
commit bc75136531

View file

@ -10,6 +10,14 @@
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing dependencies..." --weight=10
# Install Nodejs
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
# RESTORE THE APP MAIN DIR
#=================================================
@ -53,6 +61,7 @@ systemctl enable $app.service --quiet
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
chown $app:$app "/var/log/$app"
yunohost service add $app --description="Federated shared agenda for local communities" --log="/var/log/$app/$app.log"
#=================================================