1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00

Fix upgrade

This commit is contained in:
yalh76 2022-02-09 22:41:48 +01:00
parent b25cd092f6
commit a73ec7c023

View file

@ -206,6 +206,15 @@ then
chmod 644 "/etc/$app/meet/$domain-config.js" chmod 644 "/etc/$app/meet/$domain-config.js"
fi fi
#=================================================
# CREATE LOG DIR
#=================================================
ynh_script_progression --message="Creating log dir..."
mkdir -p "/var/log/$app"
chown -R $app: /var/log/$app
chmod -R 770 /var/log/$app
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
#================================================= #=================================================
@ -223,10 +232,7 @@ ynh_add_systemd_config --service=$app-jicofo --template="jitsi-jicofo.service"
ynh_script_progression --message="Securing files and directories..." ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files # Set permissions on app files
chown -R root: $final_path
chown -R $app: /etc/$app chown -R $app: /etc/$app
chown -R $app: /var/log/$app
chmod -R 770 /var/log/$app
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE