在 Linux 和 UNIX 上运行代理程序

代理程序旨在作为服务运行,并需要在系统重新启动时自动重新启动。

根据需要将 bfagent 条目添加到您的 inetd 或 xinetd 配置。以下示例是 Linux 系统上 xinetd.d 中的 bfagent 条目,其中代理程序安装在 /usr/local/bin 中:
# 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
}
如有必要,代理程序可以在 inetd/xinetd 环境的外部运行。要将其作为独立守护程序运行,请使用 -s 选项。
bfagent -s

当您使用此选项时,代理程序会移至后台,并开始侦听连接。将此命令放置到启动脚本中,以便代理程序在计算机启动时自动启动。

注: jazz.net 库中有关安装 Rational solution for CLM 产品的最新条目

反馈