【发布时间】:2020-09-15 05:27:47
【问题描述】:
目前,为了将我的程序部署到我的 ubuntu 服务器,我必须执行以下步骤。
1. Compile the code using Gradle
2. Using FileZilla to move the jar to my server.
3. Connect to my server and find the process to kill it
4. restart the program.
我很好奇是否有任何替代方案可供我自己尝试。例如以某种方式将我的 jar “部署”到服务器并让它自动重新启动进程。
【问题讨论】:
标签: java linux ubuntu unix jar