当我作为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)
https://stackoverflow.com/questions/51217606
复制相似问题