[systemd-devel] How to compute a value for a service argument or environment value?

Cristian Rodríguez crrodriguez at opensuse.org
Thu Mar 13 12:06:04 PDT 2014


El 13/03/14 15:37, Alan Stern escribió:
sult?
>
> All I have been able to think of is to have ExecStart= run a shell
> script that computes the necessary values and then execs the actual
> server program.  Is there a better way?

That's a workable hack, however the correct solution is to have the 
daemon itself to either compute the needed value or read it from a 
configuration file.





More information about the systemd-devel mailing list