Thanks to both of you!
> I'd always encourage
> you to fix the daemon in question to make something like the above
> unnecessary.
True. Since I'm only packaging the daemon, I can just guess its written
as it is to make sure the daemon can remove t
Hi,
Is there some kind of option substitution in unit configuration files?
In a service configuration file, I specify the PID file and would like
to re-use its name, e.g.
PIDFile=/var/run/myservice.pid
ExecStartPre=/usr/bin/touch %PIDFile ; /bin/chown myuser %PIDFile
Thanks,
Malte
_