Skip to content

fix(update): preserve systemd daemon ownership#1476

Merged
Aaronontheweb merged 1 commit into
netclaw-dev:devfrom
Aaronontheweb:issue-1469-systemd-update-pr
Jun 24, 2026
Merged

fix(update): preserve systemd daemon ownership#1476
Aaronontheweb merged 1 commit into
netclaw-dev:devfrom
Aaronontheweb:issue-1469-systemd-update-pr

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Collaborator

Summary

  • preserve systemd user-service ownership during netclaw update
  • stop/start active or enabled netclaw.service via systemctl --user instead of detached Process.Start
  • keep detached daemon behavior when no systemd user unit owns lifecycle
  • add focused tests plus daemon lifecycle docs and operations skill guidance

Closes #1469

Validation

  • dotnet test src/Netclaw.Cli.Tests/Netclaw.Cli.Tests.csproj --filter "FullyQualifiedName~UpdateCommandTests|FullyQualifiedName~SystemdUserServiceTests"
  • dotnet slopwatch analyze
  • pwsh ./scripts/Add-FileHeaders.ps1 -Verify
  • git diff --check upstream/dev
  • focused eval rerun: skill_activation_scheduling 5/5 on isolated port 5400

@Aaronontheweb Aaronontheweb added bug Something isn't working reliability Retries, resilience, graceful degradation platform:linux Linux-specific issues and support labels Jun 24, 2026
# Conflicts:
#	feeds/skills/.system/files/netclaw-operations/SKILL.md
@Aaronontheweb Aaronontheweb force-pushed the issue-1469-systemd-update-pr branch from d3127bf to 1f58aa0 Compare June 24, 2026 04:01
@Aaronontheweb Aaronontheweb merged commit ee6c0ef into netclaw-dev:dev Jun 24, 2026
15 checks passed
@Aaronontheweb Aaronontheweb deleted the issue-1469-systemd-update-pr branch June 24, 2026 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working platform:linux Linux-specific issues and support reliability Retries, resilience, graceful degradation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

netclaw update restarts the daemon detached instead of via systemd, leaving the user unit crash-looping

1 participant