【发布时间】:2017-02-04 09:53:13
【问题描述】:
我刚刚在 Ubuntu 14.04.5(linode 服务器)上部署了一个 springboot 应用程序 1.4.1.RELEASE,但很难让它作为服务运行(启动、停止、重启)。我偶然发现了http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/html/deployment-install.html#deployment-service,但没有帮助。我目前无法将 Ubuntu 服务器升级到 16.04.1,因为其他应用程序都依赖于这个版本。我非常需要这方面的帮助。
-
我试过跑步
~$ sudo ln -s /opt/xxxx/xxxx-0.0.1.jar /etc/init.d/xxxx-0.0.1
sudo service myapp start
但得到响应:xxxx-0.0.1: unrecognized service
请帮忙
【问题讨论】:
标签: spring spring-boot spring-data ubuntu-14.04 executable-jar