首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当将springboot作为systemd服务启动时,我如何修复:"start-stop-daemon: warning: this system is not able to track process name“?

当将springboot作为systemd服务启动时,我如何修复:"start-stop-daemon: warning: this system is not able to track process name“?
EN

Stack Overflow用户
提问于 2018-07-07 05:06:35
回答 0查看 635关注 0票数 0

当我作为systemd服务启动我的spring boot应用程序时,我收到这个错误:

start-stop-daemon: warning: this system is not able to track process names longer than 15 characters, please use --exec instead of --name.

Spring boot似乎从jar名称和jar所在的目录构建进程名称。除了将jar及其所在的目录重命名为少于15个字符之外,还有什么方法可以解决这个问题吗?

如果我试图编辑spring boots启动脚本以使用--exec而不是--name,那么我会得到另一个错误:

'start-stop-daemon: unable to stat /opt/program/programname_optprogramname (No such file or directory)

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51217606

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档