你可以改用 xinetd 的方式來提供服務
1. turn off the boot script:
chkconfig vm-pop3d off
2. setup xinet.d
edit /etc/xinetd.d/pop3 and add:
引用:
# default: on
# description: pop3
service pop3
{
log_on_success += DURATION USERID
log_on_failure += USERID
port = 110
socket_type = stream
user = root
server = /usr/local/sbin/vm-pop3d
server_args = -t 600
wait = no
nice = 10
}
3. 重啟 xinetd
#service vm-pop3d stop
#service xinetd restart
透過這種方式...相信vm-pop3d 的dameon無緣無故掛掉的現象應該就可以解除了...