代理程序将作为服务来运行,并且在系统重新启动时需要自动重新启动。
# description: The IBM Rational Build Forge 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
使用该选项时,代理程序会转到后台并开始侦听连接。将此命令放在启动脚本中,这样代理程序会在计算机启动时自动启动。