【问题标题】:Is it possible to stop the xsp --nonstop process without using the kill command?是否可以在不使用 kill 命令的情况下停止 xsp --nonstop 进程?
【发布时间】:2019-11-28 04:36:34
【问题描述】:

我有一个进程 xsp4 以这种方式运行:

xsp4 --port 8181 --nonstop &

当然,我可以这样终止它:

杀死$(lsof -t -i:8181)

但也许还有其他更正确的方法,我不知道?

【问题讨论】:

    标签: linux mono xsp


    【解决方案1】:

    我已经为当前问题搜索了某种解决方案,但没有找到正确的答案。 但后来我突然找到了一种杀死服务器的方法 - 通过替换启动 xsp4 的容器内的文件夹~/fixtures/code/xsp4 --port 8181 --nonstop &。例如,每当我在该文件夹rm -r -f fixtures/code/* 中替换数据时 - 我必须再次启动服务器。 希望它对你有帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-12
      • 2020-02-28
      • 1970-01-01
      相关资源
      最近更新 更多