compatible with empty .git dir in tomcat conf dir
phoenix agent service script for op