Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过程序在 Debian 上启动服务的最佳方式是什么?我曾经使用“/sbin/service start”,但最近遇到了一个不存在“/sbin/service”的系统,因此启动守护程序会失败。
复制和自定义/etc/init.d/skeleton(例如到/etc/init.d/specksyn)并添加符号链接,例如/etc/rc2.d/S99specksyn到它等等。
/etc/init.d/skeleton
/etc/init.d/specksyn
/etc/rc2.d/S99specksyn