20 lines
362 B
Bash
20 lines
362 B
Bash
|
|
# Define base path
|
||
|
|
BASE="/volume1/docker/cloudflared"
|
||
|
|
|
||
|
|
# Create folders
|
||
|
|
mkdir -p "${BASE}/etc"
|
||
|
|
|
||
|
|
# Set ownership and permissions
|
||
|
|
chown -R 1037:65538 "${BASE}"
|
||
|
|
chmod -R 750 "${BASE}"
|
||
|
|
|
||
|
|
|
||
|
|
# Define base path
|
||
|
|
BASE="/volume1/docker/ddns-updater"
|
||
|
|
|
||
|
|
# Create folders
|
||
|
|
mkdir -p "${BASE}"
|
||
|
|
|
||
|
|
# Set ownership and permissions
|
||
|
|
chown -R 1037:65538 "${BASE}"
|
||
|
|
chmod -R 750 "${BASE}"
|