Session Persistence
Medium
- Category
- Rogue Agent
- Content
fi if command_exists systemctl; then user_enabled=$(systemctl --user list-unit-files 'openclaw-gateway*.service' --state=enabled --no-legend 2>/dev/null || true) system_enabled=$(systemctl list-unit-files 'openclaw-gateway*.service' --state=enabled --no-legend 2>/dev/null || true) if [[ -n "$user_enabled$system_enabled" ]]; then pass 'An OpenClaw systemd service is enabled for reboot survival.'- Confidence
- 80% confidence
- Finding
- systemctl --user list-unit-files 'openclaw-gateway*.service' --state=enable
