Pab*_*blo 19 ubuntu service upstart ubuntu-12.04
我为我在 Ubuntu 12.04 上运行的服务创建了一堆新贵工作。我可以成功启动它们并停止:
service my_service start
service my_service stop
Run Code Online (Sandbox Code Playgroud)
但是当我这样做时它们没有列出
service --status-all
Run Code Online (Sandbox Code Playgroud)
任何想法我可能会错过什么?
为了创建服务,我刚刚在 /etc/init.conf 中添加了 .conf 文件。
Oli*_*ver 27
service --status-all
只显示使用脚本启动的服务/etc/init.d/
。要列出新贵职位,请执行initctl list
.
归档时间: |
|
查看次数: |
12866 次 |
最近记录: |