zcfan icon indicating copy to clipboard operation
zcfan copied to clipboard

systemd service doesn't find executable

Open suyd opened this issue 3 years ago • 3 comments

after installing with sudo make install on ubuntu, the binary installs into /usr/local/bin but the service path is on /usr/bin/zcfan

fixed it changing the location of the executable to /usr/local/bin/zcfan

please tell me if you need more info

suyd avatar Nov 10 '22 04:11 suyd

Hmm, yes. I suppose we should templatise the systemd file.

cdown avatar Mar 28 '23 02:03 cdown

Since it's a program typically used only from root (or systemd), I'd propose /usr/sbin as executable path location

ilmanzo avatar Sep 04 '23 08:09 ilmanzo

That's probably true, I'm on a /usr merged distribution so don't think about this much. I'd rather avoid having to use some crappy templating system just for this, probably this can just be done through the makefile.

cdown avatar Sep 05 '23 16:09 cdown