代理程序旨在作为服务运行,并需要在系统重新启动时自动重新启动。
# description: The IBM Rational Build Agent serves build requests
# from the IBM Rational Build Forge Management Console.
service bfagent
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/local/bin/bfagent
log_on_failure += USERID
}
bfagent -s
当您使用此选项时,代理程序会移至后台,并开始侦听连接。将此命令放置到启动脚本中,以便代理程序在计算机启动时自动启动。