Skip to content

v1.2.0

Choose a tag to compare

@gmpassos gmpassos released this 09 Jun 07:23
· 8 commits to master since this release

1.2.0

  • Persistent user-level systemd (Linux): user-scoped installs now
    auto-configure the per-user systemd environment so services install, enable,
    start, and survive logout/reboot. A new UserSystemdManager
    (ensurePersistentUserSystemd()) detects systemctl/loginctl, the current
    user/uid, lingering, the user D-Bus bus, and XDG_RUNTIME_DIR; enables
    lingering via sudo -n loginctl enable-linger when possible (warning with the
    manual command otherwise); and returns a detailed UserSystemdStatus
    (diagnostics + actionable warnings). The systemd driver runs it before
    user-scoped installs and passes a resolved XDG_RUNTIME_DIR to all
    systemctl --user calls, fixing Failed to connect to bus: … errors. Linux
    only, idempotent, never assumes root.

  • Scope/privilege warning: install now detects a mismatch between the
    requested scope and the current privilege level — running under sudo/root
    with the default user scope (user services fail as root), or a system-scoped
    install without elevation — and warns with the fix, then proceeds. Backed by a
    new injectable PrivilegeChecker (id -u / net session).

  • The CLI now shows warnings by default (info/debug still require --verbose).

  • Added --system as a shorthand for --scope system.