Service 机器重新启动后未启动artifactory

Service 机器重新启动后未启动artifactory,service,debian,artifactory,vsphere,Service,Debian,Artifactory,Vsphere,我已经在debian 7虚拟机上安装了artifactory 3.0.3。使用vSphere artifactory重新启动虚拟机时,不会重新启动。我最初是以root的身份启动artifactory的 service artifactory start 效果很好。这里还有一个artifactory脚本: /etc/init.d/artifactory 为什么在重新启动时未拾取该脚本?您是否确保已将/etc/init.d/artifactory服务添加到默认运行级别? 您应该在/etc/rcX

我已经在debian 7虚拟机上安装了artifactory 3.0.3。使用vSphere artifactory重新启动虚拟机时,不会重新启动。我最初是以root的身份启动artifactory的

service artifactory start
效果很好。这里还有一个artifactory脚本:

/etc/init.d/artifactory

为什么在重新启动时未拾取该脚本?

您是否确保已将
/etc/init.d/artifactory
服务添加到默认运行级别?
您应该在
/etc/rcX.d/
目录中看到指向该服务的符号链接(其中X是运行级别编号)。
要将服务添加到使用
更新rc.d

update-rc.d artifactory defaults

您是否确保已将
/etc/init.d/artifactory
服务添加到默认运行级别?
您应该在
/etc/rcX.d/
目录中看到指向该服务的符号链接(其中X是运行级别编号)。
要将服务添加到使用
更新rc.d

update-rc.d artifactory defaults