kcd icon indicating copy to clipboard operation
kcd copied to clipboard

Systemd units starting

Open fossfreedom opened this issue 6 months ago • 1 comments

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

fossfreedom avatar May 19 '26 12:05 fossfreedom

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

bethropolis avatar May 22 '26 14:05 bethropolis