diff --git a/bundles/powerdnsadmin/items.py b/bundles/powerdnsadmin/items.py index a298b97..10cd192 100644 --- a/bundles/powerdnsadmin/items.py +++ b/bundles/powerdnsadmin/items.py @@ -57,7 +57,7 @@ actions = { }, 'powerdnsadmin_compile_assets': { 'triggered': True, - 'command': 'cd /opt/powerdnsadmin/src && yarn install --pure-lockfile && FLASK_APP=/opt/powerdnsadmin/src/powerdnsadmin/__init__.py /opt/powerdnsadmin/venv/bin/flask assets build', + 'command': 'cd /opt/powerdnsadmin/src && yarn install --pure-lockfile && FLASK_APP=/opt/powerdnsadmin/src/powerdnsadmin/__init__.py /opt/powerdnsadmin/venv/bin/flask assets build && chown -R powerdnsadmin:powerdnsadmin /opt/powerdnsadmin/src/powerdnsadmin/static/', 'needs': { 'action:powerdnsadmin_install_deps', 'pkg_apt:',