set tomcat_pid_file when function is called, based on the initial path config