首先我们使用start-stop-daemon --help来查看这个命令的帮助文档:

在Ubuntu上以精灵进程daemon process的方式启动一个命令

-S的意思是start
-b的意思是后台运行

在Ubuntu上以精灵进程daemon process的方式启动一个命令

-C:不要关闭任何文件描述符:

在Ubuntu上以精灵进程daemon process的方式启动一个命令

在Ubuntu上以精灵进程daemon process的方式启动一个命令

start-stop-daemon -SbCv -x http-server ./koifiles

或者用screen命令也行
在Ubuntu上以精灵进程daemon process的方式启动一个命令

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
在Ubuntu上以精灵进程daemon process的方式启动一个命令

相关文章:

  • 2021-07-15
  • 2021-06-30
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-01-15
猜你喜欢
  • 2022-12-23
  • 2021-05-08
  • 2021-09-12
  • 2021-06-14
  • 2021-08-03
  • 2021-10-21
  • 2022-02-11
相关资源
相似解决方案