Fix log permission issue for yunohost-portal-api

This commit is contained in:
Alexandre Aubin 2021-12-27 13:05:11 +01:00
parent bd564e6a53
commit 76eba6fc88

View file

@ -184,6 +184,10 @@ do_post_regen() {
chown ynh-portal:root /etc/yunohost/.ssowat_cookie_secret
chmod 400 /etc/yunohost/.ssowat_cookie_secret
touch /var/log/yunohost-portalapi.log
chown ynh-portal:root /var/log/yunohost-portalapi.log
chmod 600 /var/log/yunohost-portalapi.log
######################
# Enfore permissions #
######################