【问题标题】:Daemon startup on Debian(existence of /sbin/service)Debian 上的守护进程启动(/sbin/service 的存在)
【发布时间】:2011-12-07 18:25:00
【问题描述】:

通过程序在 Debian 上启动服务的最佳方式是什么?我曾经使用'/sbin/service start',但我最近遇到了一个不存在'/sbin/service'的系统,因此启动守护程序会失败。

【问题讨论】:

    标签: linux debian daemon start-stop-daemon


    【解决方案1】:

    复制和自定义/etc/init.d/skeleton(例如到/etc/init.d/specksyn)并添加来自例如的符号链接/etc/rc2.d/S99specksyn 给它,等等等等。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-09-01
      • 1970-01-01
      • 2015-09-21
      • 1970-01-01
      • 1970-01-01
      • 2018-12-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多