v1.2.0
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 newUserSystemdManager
(ensurePersistentUserSystemd()) detectssystemctl/loginctl, the current
user/uid, lingering, the user D-Bus bus, andXDG_RUNTIME_DIR; enables
lingering viasudo -n loginctl enable-lingerwhen possible (warning with the
manual command otherwise); and returns a detailedUserSystemdStatus
(diagnostics + actionable warnings). The systemd driver runs it before
user-scoped installs and passes a resolvedXDG_RUNTIME_DIRto all
systemctl --usercalls, fixingFailed to connect to bus: …errors. Linux
only, idempotent, never assumes root. -
Scope/privilege warning:
installnow detects a mismatch between the
requested scope and the current privilege level — running undersudo/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 injectablePrivilegeChecker(id -u/net session). -
The CLI now shows warnings by default (info/debug still require
--verbose). -
Added
--systemas a shorthand for--scope system.