更新时间:2023-01-30 08:40:21
理想地,您应该为Java应用程序创建服务包装,然后使该服务在启动示例
Ideally you should create a service wrapper for your java application and then make this service run on startup example here.
使用sudo update-rc.d mytestserv defaults
在Ubuntu上启动时运行服务包装器
Usesudo update-rc.d mytestserv defaults
to run your service wrapper on startup on Ubuntu