Created
May 13, 2023 20:30
-
-
Save shrey27tri01/e4072f8307976b16436df146adcb89c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ ! -d /var/lib/data/mysql_data ]; then | |
mkdir -p /var/lib/data/mysql_data; | |
fi; | |
chmod -R 777 /var/lib/data/mysql_data; | |
chown -R 999:999 /var/lib/data/mysql_data; | |
if [ ! -d /var/lib/data/static_assets_data ]; then | |
mkdir -p /var/lib/data/static_assets_data; | |
fi; | |
chmod -R 777 /var/lib/data/static_assets_data; | |
chown -R 999:999 /var/lib/data/static_assets_data; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment