You've already forked hotpocket
BTHLABS-63: Production deployment workflow
This commit is contained in:
9
services/backend/ops/bin/fix-run-uploads-permissions.sh
Executable file
9
services/backend/ops/bin/fix-run-uploads-permissions.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "Fixing runtime directory permissions..."
|
||||
|
||||
chown $1 /srv/run || true
|
||||
chmod 775 /srv/run
|
||||
|
||||
chown $1 $2 || true
|
||||
chmod 775 $2
|
||||
Reference in New Issue
Block a user