This version for service\daemon