Re: [systemd-devel] EnvironmentFile generated during ExecStartPre phase

2012-10-31 Thread Lennart Poettering
On Wed, 31.10.12 14:28, Honza Horak ([email protected]) wrote: > Hi systemd hackers, > > I'm wondering when exactly EnvironmentFile is read during service > start. Shortly before process execution (which is actually documented in systemd.exec(5)). Process execution means that it will be reloade

Re: [systemd-devel] EnvironmentFile generated during ExecStartPre phase

2012-10-31 Thread 微蔡
On Wednesday 31 October 2012 16:46:55 Mantas Mikulėnas wrote: > On Wed, Oct 31, 2012 at 3:28 PM, Honza Horak wrote: > > My use case is the following: the service should be started with some > > environment variables defined, but the variable values are not static, but > > rather dynamically genera

Re: [systemd-devel] EnvironmentFile generated during ExecStartPre phase

2012-10-31 Thread Honza Horak
On 10/31/2012 03:46 PM, Mantas Mikulėnas wrote: On Wed, Oct 31, 2012 at 3:28 PM, Honza Horak wrote: My use case is the following: the service should be started with some environment variables defined, but the variable values are not static, but rather dynamically generated using some script. Th

Re: [systemd-devel] EnvironmentFile generated during ExecStartPre phase

2012-10-31 Thread Mantas Mikulėnas
On Wed, Oct 31, 2012 at 3:28 PM, Honza Horak wrote: > My use case is the following: the service should be started with some > environment variables defined, but the variable values are not static, but > rather dynamically generated using some script. This could be solved by > using EnvironmentFile

[systemd-devel] EnvironmentFile generated during ExecStartPre phase

2012-10-31 Thread Honza Horak
Hi systemd hackers, I'm wondering when exactly EnvironmentFile is read during service start. My use case is the following: the service should be started with some environment variables defined, but the variable values are not static, but rather dynamically generated using some script. This cou