|
|
我安装daemontools来看住一个程序,不让它退出,linux 9版本,安装时打了补丁才安装完成,在 /service下建立了 run, supervise /service,,时我指定的程序会运行,,但如果那个、程序退出时他们不会自动启动那个程序, svstat /service 显示/service: supervise not running
安装时我没有改变 安装的目录,
ps,,可以看到
:3888 ? S 0:00 /bin/sh /command/svscanboot
3890 ? S 0:00 svscan /service
3891 ? S 0:00 readproctitle service errors: ... unable to start supervise/run: file does not exist?supervise: fatal:
3892 ? S 0:03 supervise supervise
17930 ? S 0:00 cupsd
14981 ? R 0:00 /usr/sbin/sshd
15014 pts/1 S 0:00 -bash
16900 ? Z 0:00 [supervise <defunct>]
16901 pts/1 R 0:00 ps -ax
找不到原因,,请高手赐教,, |
|