自动在AWS Amazon上执行一个API。

huangapple go评论71阅读模式
英文:

Executing an api automatically on AWS Amazon

问题

我在搜索这个问题,但是没有找到任何东西。
我有一个Java Spring Boot应用程序,API,我已经将其上传到了亚马逊的EC2上,它可以运行。但是当我关闭命令提示符时,应用程序就会停止。我该如何配置它在亚马逊上自动启动?

英文:

I was searching about this issue and I did not find anything.
I have a java spring boot application, API, I already uploaded it on EC2 amazon and it is working. But when I close the prompt the app ends. How can I configure it to start automatically on amazon?

答案1

得分: 1

你需要按照Federico的说法将其安装为一个服务,或者你可以使用nohup命令运行。

英文:

You need to install it as a service, as Federico said, or you could run with nohup

huangapple
  • 本文由 发表于 2020年10月14日 21:45:47
  • 转载请务必保留本文链接:https://go.coder-hub.com/64354707.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定