Skip to content

Add Linux systemd service support #15

Closed

Description

@CalebisGross

Description

Implement systemd user service support for Linux as part of the platform abstraction effort.

Tasks

  1. Create `internal/daemon/service_darwin.go` — extract existing macOS launchctl code
  2. Create `internal/daemon/service_linux.go` — systemd unit file generation + `systemctl --user` commands
  3. Create `internal/daemon/service.go` — platform-agnostic ServiceManager interface
  4. Update `cmd/mnemonic/main.go` install/uninstall to use the new interface
  5. Add `runtime.GOOS` guards in start/stop commands

Depends On

Activity

  1. added a commit that references this issue on Feb 28, 2026
    1ff0fb0
  2. CalebisGross commented on Feb 28, 2026

    @CalebisGross
    CollaboratorAuthor

    Resolved by #19 (added service_linux.go with systemd user unit management) and #20 (fixed log directory creation during install).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions