12 lines
246 B
Bash
12 lines
246 B
Bash
|
|
# Define base path
|
||
|
|
BASE="/volume1/docker/calibre-web-automated"
|
||
|
|
|
||
|
|
# Create folders
|
||
|
|
mkdir -p "${BASE}/config" "${BASE}/plugins"
|
||
|
|
|
||
|
|
# Set ownership and permissions
|
||
|
|
chown -R 1029:65538 "${BASE}"
|
||
|
|
# Set ownership and permissions
|
||
|
|
chmod -R 750 "${BASE}"
|
||
|
|
|