#!/bin/bash #============================================================================== # Copyright and license info is available in the LICENSE file included with # the Server Deployment Package (SDP), and also available online: # https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/LICENSE #------------------------------------------------------------------------------ # # Use "chkconfig --add p4broker_REPL_SDP_INSTANCE_init" to set up the script to start and stop automatically. # Perforce Init Script. # chkconfig: - 90 30 # description: Start Perforce broker instance REPL_SDP_INSTANCE source /p4/common/bin/p4_vars REPL_SDP_INSTANCE || exit 1 export P4BROKERCFG=/p4/common/config/${P4SERVER}.broker.cfg source /p4/common/bin/p4broker_base $1