fix: ensure permissions for global VHOST file are set to the dokku user on install

This commit is contained in:
Jose Diaz-Gonzalez
2022-05-10 12:44:01 -04:00
parent 46d733ffe9
commit c68ae008cc
2 changed files with 2 additions and 0 deletions

1
debian/postinst vendored
View File

@@ -111,6 +111,7 @@ dpkg-handling() {
db_get "dokku/hostname"
echo "Setting VHOST contents to $RET"
echo "$RET" >"${DOKKU_ROOT}/VHOST"
chown dokku:dokku "${DOKKU_ROOT}/VHOST"
fi
fi