Skip to content

Install/uninstall commands are macOS LaunchAgent only #2

Closed

Description

@CalebisGross

Problem

cmd/mnemonic/main.go lines 660-807:

  • installCommand() creates a macOS LaunchAgent plist in ~/Library/LaunchAgents/
  • uninstallCommand() removes it via launchctl unload

No equivalent exists for Linux (systemd) or Windows (Task Scheduler/Windows Service).

Impact

mnemonic install and mnemonic uninstall only work on macOS.

Fix

Create platform-specific install implementations:

  • Linux: Generate and install a systemd user unit file (~/.config/systemd/user/mnemonic.service)
  • Windows: Future — Windows Service or Task Scheduler

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 (platform-abstracted ServiceManager with Linux systemd support) and #20 (log directory fix for fresh installs). All CLI commands now work on Linux: install, uninstall, start, stop, restart, serve.

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