fix: set correct working directory and create home for ai-worker

This commit is contained in:
Robert
2026-04-04 17:07:13 -04:00
parent ce20fad4d3
commit 2e749228bb
2 changed files with 3 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ in {
Type = "exec";
User = cfg.user;
Group = cfg.user;
WorkingDirectory = "/var/lib/${cfg.user}";
WorkingDirectory = "/home/${cfg.user}";
ExecStart = ''
${openclawPkg}/bin/openclaw \
node run \