diff options
Diffstat (limited to 'main/lighttpd/spawn-fcgi.initd')
-rw-r--r-- | main/lighttpd/spawn-fcgi.initd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/lighttpd/spawn-fcgi.initd b/main/lighttpd/spawn-fcgi.initd index 63daa750..a4023a2c 100644 --- a/main/lighttpd/spawn-fcgi.initd +++ b/main/lighttpd/spawn-fcgi.initd @@ -7,6 +7,7 @@ SPAWNFCGI_PID="/var/run/spawn-fcgi.pid" depend() { need net + after firewall } start() { @@ -21,7 +22,7 @@ start() { # copy the allowed environment variables unset E for i in ${ALLOWED_ENV}; do - E="${E} ${i}=${!i}" + eval "E=\"${E} ${i}=\$${i}\"" done # clean environment and set up a new one @@ -49,3 +50,4 @@ stop() { fi eend 0 } + |