fix(daemon): align systemd unit with documentation
Align generated systemd service file with docs: https://docs.clawd.bot/gateway#supervision-systemd-user-unit Adds: - After=network-online.target - Wants=network-online.target - RestartSec=5
This commit is contained in:
@@ -141,10 +141,13 @@ function buildSystemdUnit({
|
||||
return [
|
||||
"[Unit]",
|
||||
"Description=Clawdbot Gateway",
|
||||
"After=network-online.target",
|
||||
"Wants=network-online.target",
|
||||
"",
|
||||
"[Service]",
|
||||
`ExecStart=${execStart}`,
|
||||
"Restart=always",
|
||||
"RestartSec=5",
|
||||
workingDirLine,
|
||||
...envLines,
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user