Add missing mkdir calls
This commit is contained in:
@@ -367,6 +367,7 @@ service_create() {
|
||||
|
||||
mkdir -p "$SERVICE_ROOT" || dokku_log_fail "Unable to create service directory"
|
||||
mkdir -p "$SERVICE_ROOT/data" || dokku_log_fail "Unable to create service data directory"
|
||||
mkdir -p "$SERVICE_ROOT/config" || dokku_log_fail "Unable to create service config directory"
|
||||
rootpassword=$(openssl rand -hex 16)
|
||||
password=$(openssl rand -hex 16)
|
||||
echo "$rootpassword" > "$SERVICE_ROOT/ROOTPASSWORD"
|
||||
|
||||
Reference in New Issue
Block a user