10 lines
197 B
Bash
10 lines
197 B
Bash
|
|
# Define base path
|
||
|
|
BASE="/volume1/docker/fireflyiii"
|
||
|
|
|
||
|
|
# Create folders
|
||
|
|
mkdir -p "${BASE}/upload" "${BASE}/db"
|
||
|
|
|
||
|
|
# Set ownership and permissions
|
||
|
|
chown -R 1040:65538 "${BASE}"
|
||
|
|
chmod -R 750 "${BASE}"
|