fix pid_path to pid_path_real in template

fix a tiny bug. haha