Mailinglist Archive: opensuse (1231 mails)

< Previous Next >
[opensuse] own environment variables in init scripts

I use the apache2 with vhosts. In the vhost declarations, I like to
use environment variables.
From Apache side, it is possible and I've tested it.

I set the needed environment variables in a own file in /etc/profile.d/
Start/stop of Apache after I've logged in is possible, the apache with
the environment variables from is working well.

But during system startup, the file is not sourced, and so,
the start of apache failed.

Where can I put my variables, so that they are loaded before running
init-scripts. Modifying the init-script or similar files is not
possible, because of updates.

Thanks Meike

Oh, I'm running OS 11.4 with SysVinit style.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups