#!/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 #------------------------------------------------------------------------------ # # description: Perforce Server Start Up Script # Use chkconfig --add p4ftpd_REPL_SDP_INSTANCE_init to set up the script to start and stop automatically. # Perforce FTP Daemon Init Script. # chkconfig: - 90 30 # description: Start Perforce ftp instance REPL_SDP_INSTANCE declare OpMode=${1:-status} # Load SDP shell environment for Instance REPL_SDP_INSTANCE. source /p4/common/bin/p4_vars REPL_SDP_INSTANCE || exit 1 /p4/common/bin/p4ftpd_base $OpMode