jenkins启动失败: jenkins: Failed to start LSB
使用
systemctl status jenkins.service
查看具体的问题,发现原因在于permission denied
配置/etc/sysconfig/jenkins
(需要root权限)
## Type: string
## Default: "jenkins"
## ServiceRestart: jenkins
#
# Unix user account that runs the Jenkins daemon
# Be careful when you change this, as you need to update
# permissions of $JENKINS_HOME and /var/log/jenkins.
#
JENKINS_USER="root"
使用命令将