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

Update upgrade

This commit is contained in:
ericgaspar 2021-05-01 23:43:21 +02:00
parent bb5601ff35
commit 13687edae7
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -8,7 +8,6 @@
# Load common variables for all scripts.
source _variables
source _common.sh
source /usr/share/yunohost/helpers
@ -235,6 +234,16 @@ ynh_script_progression --message="Upgrading NodeJS..." --weight=4
ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
# HANDLE LOG FILES AND LOGROTATE
#=================================================
ynh_script_progression --message="Configuring log rotation..."
# Create log directory
install_log=/var/log/$app/installation.log
touch $install_log
chown $app -R /var/log/$app
#=================================================
# UPGRADE NPM MODULES
#=================================================