Fixing daemon file.