Fix cp command shell syntax in OpenClaw
This commit is contained in:
parent
416432be17
commit
b9976c04ef
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ in
|
||||||
|
|
||||||
ExecStartPre = [
|
ExecStartPre = [
|
||||||
"${pkgs.coreutils}/bin/mkdir -p ${configDir} ${dataDir} ${workspaceDir}"
|
"${pkgs.coreutils}/bin/mkdir -p ${configDir} ${dataDir} ${workspaceDir}"
|
||||||
"${pkgs.coreutils}/bin/cp -n /etc/openclaw/openclaw.json ${configDir}/ || true"
|
"${pkgs.bash}/bin/bash -c 'cp -n /etc/openclaw/openclaw.json ${configDir}/ || true'"
|
||||||
];
|
];
|
||||||
|
|
||||||
ExecStart = "${pkgs.nodejs_22}/bin/npx openclaw gateway start --port ${toString cfg.port}";
|
ExecStart = "${pkgs.nodejs_22}/bin/npx openclaw gateway start --port ${toString cfg.port}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue