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:
parent
b25cd092f6
commit
a73ec7c023
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue