代理程式主要是執行以作為服務,必須在重新啟動系統時也能自動重新啟動。
# 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
當您使用此選項時,代理程式會移至背景,再開始接聽連線。請將這個指令放在啟動 Script 中,以便能夠在啟動電腦時自動啟動代理程式。