$ cd /var/lib/jenkinsvim
$ vim /etc/sysconfig/jenkinsrest
$ sudo service jenkins start/stop/restartjenkins
$ sudo chkconfig jenkins on配置