Skip to content
Snippets Groups Projects
Unverified Commit 334b5f25 authored by Agate's avatar Agate Committed by GitHub
Browse files

Set permissions on startup

parent 8d09c70c
Branches
No related tags found
No related merge requests found
......@@ -4,3 +4,17 @@ mkdir -p /run/postgresql
mkdir -p /run/nginx
mkdir -p /var/log/funkwhale
mkdir -p /app/api/staticfiles
# ownership
chown -R funkwhale:funkwhale /app
chown -R funkwhale:funkwhale /var/log/funkwhale
chown -R funkwhale:funkwhale /run/postgresql
# permission
chmod -R 0700 /app
chmod -R 0750 /app/api/staticfiles
chmod -R 0750 /app/front
chmod 0750 /app
chmod 0750 /app/api
chmod -R 0755 /var/log/funkwhale
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment