1

I'm deploying something to machines (internally, not for public consumption) using RPMs. Now, in RPM .spec files there's the %_libexecdir variable. The package deploys a service binary in that location. How do I have that path automatically be used in the systemd .service file's ExecStart= entry? There's no corresponding Bash variable, for example, and I don't know if something like rpm --eval=%_libexecdir is a good idea or even possible within the .service.

Display Name
  • 761
  • 1
  • 8
  • 13

0 Answers0