move datadir owning

This commit is contained in:
yalh76 2019-04-03 02:53:48 +02:00
parent 0e170b49c4
commit 16f5c53dfc

View file

@ -118,8 +118,6 @@ mkdir -p "/etc/nginx/conf.d/${domain}.d" # ( I don't remember why this is here,
ynh_add_nginx_config
# Set right permissions for the app
chown -R "$app":"$app" "$datadir"
# Reload Nginx
systemctl reload nginx
@ -148,6 +146,9 @@ mkdir -p "$datadir"
# Give permission to the datadir
chown -R "$app":"$app" "$datadir"
# Set right permissions for the app
chown -R "$app":"$app" "$datadir"
#=================================================
# BUILD YARN DEPENDENCIES
#=================================================