Re: [systemd-devel] How to set complex environment for apache?

2012-05-24 Thread Sven Anders
Am 24.05.2012 01:56, schrieb Lennart Poettering: On Wed, 23.05.12 16:45, Joachim Banzhaf (joachim.banz...@googlemail.com) wrote: Am 22.05.2012 22:51, schrieb Zbigniew Jędrzejewski-Szmek: On 05/22/2012 10:46 PM, Joachim Banzhaf wrote: It sets and modifies environment variables. I'll have a

Re: [systemd-devel] How to set complex environment for apache?

2012-05-23 Thread Joachim Banzhaf
Am 22.05.2012 22:51, schrieb Zbigniew Jędrzejewski-Szmek: On 05/22/2012 10:46 PM, Joachim Banzhaf wrote: It sets and modifies environment variables. I'll have a look and try, See also Environment= and EnvironmentFile= in systemd.exec(5). Zbyszek I tried now. Not sure if the result is

Re: [systemd-devel] How to set complex environment for apache?

2012-05-23 Thread Lennart Poettering
On Wed, 23.05.12 16:45, Joachim Banzhaf (joachim.banz...@googlemail.com) wrote: Am 22.05.2012 22:51, schrieb Zbigniew Jędrzejewski-Szmek: On 05/22/2012 10:46 PM, Joachim Banzhaf wrote: It sets and modifies environment variables. I'll have a look and try, See also Environment= and

[systemd-devel] How to set complex environment for apache?

2012-05-22 Thread Joachim Banzhaf
Me again :) I use apache to serve php pages that connect to a DB2 database via the php_pdo interface. For this to work, I have to set a DB2 specific environment. To make that easy, there is a shell script provided that does the necessary adjustments (db2profile). With SysV init I sourced that

Re: [systemd-devel] How to set complex environment for apache?

2012-05-22 Thread Joachim Banzhaf
It sets and modifies environment variables. I'll have a look and try, thanks. sorry for smartphone brevity ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] How to set complex environment for apache?

2012-05-22 Thread Zbigniew Jędrzejewski-Szmek
On 05/22/2012 10:46 PM, Joachim Banzhaf wrote: It sets and modifies environment variables. I'll have a look and try, See also Environment= and EnvironmentFile= in systemd.exec(5). Zbyszek ___ systemd-devel mailing list

Re: [systemd-devel] How to set complex environment for apache?

2012-05-22 Thread Zbigniew Jędrzejewski-Szmek
On 05/22/2012 10:16 PM, Joachim Banzhaf wrote: Me again :) I use apache to serve php pages that connect to a DB2 database via the php_pdo interface. For this to work, I have to set a DB2 specific environment. To make that easy, there is a shell script provided that does the necessary