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.
Asked
Active
Viewed 144 times
1

Display Name
- 761
- 1
- 8
- 13
-
Anyone? I'm still stuck on this. – Display Name May 01 '15 at 21:59