jenkins systemctl启动失败

centos yum或者rpm安装jenkins后起不来

 

vi /etc/init.d/jenkins

candidates="
/usr/local/jdk1.8.0_171/bin/java
/etc/alternatives/java
/usr/lib/jvm/java-1.8.0/bin/java
/usr/lib/jvm/jre-1.8.0/bin/java
/usr/lib/jvm/java-1.7.0/bin/java
/usr/lib/jvm/jre-1.7.0/bin/java
/usr/bin/java
"

转载于:https://www.cnblogs.com/mhc-fly/p/9161853.html

你可能感兴趣的:(运维,java,操作系统)