mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
conf_regen:yunohost: repeat init portal setup in post hook
This commit is contained in:
parent
2b5726f4a8
commit
6f085ad255
1 changed files with 3 additions and 3 deletions
|
@ -248,10 +248,10 @@ do_post_regen() {
|
|||
[ ! -e "/home/$USER" ] || setfacl -m g:all_users:--- /home/$USER
|
||||
done
|
||||
|
||||
# Portal settings
|
||||
# Portal folder
|
||||
mkdir -p /etc/yunohost/portal
|
||||
[[ ! -e /etc/yunohost/portal ]] || (chown ynh-portal:ynh-portal /etc/yunohost/portal && chmod 500 /etc/yunohost/portal)
|
||||
chmod g+s /etc/yunohost/portal
|
||||
chmod 500 /etc/yunohost/portal
|
||||
chown ynh-portal:ynh-portal /etc/yunohost/portal
|
||||
|
||||
# Domain settings
|
||||
mkdir -p /etc/yunohost/domains
|
||||
|
|
Loading…
Add table
Reference in a new issue