Systemd units starting
Hi, quick question please on the debian package - it installs the systemd unit correctly to /usr/lib/systemd/user...
However you can't enable and start it since it expects home folder locations for the kcd binary etc?
i.e. I note in the README cp packaging/kcd-user.service ~/.config/systemd/user/kcd.service
Can I ask why please? Usually the systemd unit should be self contained with file/folder locations as per where the package installs things.
cheers
Hi,
Thank you for bringing this up!
You are entirely right. The service unit currently in the repository was originally designed for the source installation script (install.sh), which targets the user's home directory (~/.local/bin/kcd).
When I was setting up goreleaser for the pre-built binaries, I created two service files kcd-user.service and kcd-system.service but the system version was an initial copy of the user service and carried over the same home-directory path assumptions. since I have mostly been testing the user-local installation via the install script, i didn't catch this slip
I want both installation methods to work smoothly, so I will get this fixed in the next update to ensure only the system service is packaged and works on the .rpm and .deb and is self contained