can't resolve env vars inside the init.d script