lorri
lorri copied to clipboard
Failed to enable unit: Unit file lorri.service does not exist.
Edit:
I had lorri 1.2.0
. Switched to lorri 1.5.0
and apparently presents the same behavior.
I had lorri
installed for a while (and rebooted a few times), but have always been unable to... enable it with systemctl
:
systemctl --user enable lorri.service
returned the Failed to enable unit: Unit file lorri.service does not exist.
message.
Long story short, ~/.config/systemd/user/lorri.service
linked file (/nix/store/mn2xw17nf6r7frhy595479rgwkpyr74m-unit-lorri.service/lorri.service
in my case) did not contain:
[Install]
WantedBy=multi-user.target
- I created a standalone
~/.config/systemd/user/lorri.service
- with the content of
/nix/store/mn2xw17nf6r7frhy595479rgwkpyr74m-unit-lorri.service/lorri.service
- added the
WantedBy=multi-user.target
clause to it - saved
now I am able to enable/start lorri
.
As I did not find any reference to this case in issues (or any search online, for what matters), I wonder if I am the only one experiencing this behavior and/or I am missing something 🤔