I think there is one environment variable called SEMAPHORE_CACHE_DIR, not SEMPAPHORE_CACHE and it holds absolute path to the directory. Not sure if I misunderstood something here.