syntax fix + HUP signal handler fix