#!/usr/bin/env 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
#------------------------------------------------------------------------------
set -e
instance=${1}
shift
source /p4/common/bin/p4_vars $instance
if [[ "${P4REPLICA}" == "TRUE" ]]; then
exec $@
fi
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #4 | 31311 | C. Thomas Tyler |
Updated run_if_*.sh scripts: * Fixed bug in run_if_broker.sh. * Normalized command line verification. * Removed 'set -e' from run_if_*.sh scripts to improve reliability. * Made ShellCheck compliant. #review-31312 |
||
| #3 | 22800 | Russell C. Jackson (Rusty) |
Correct the logic on checking for an edge server. Removed () from the set_vars call that got in via a cut and paste. |
||
| #2 | 22751 | Russell C. Jackson (Rusty) | Updated edge_dump with fixes in my branch and updated run_if* scripts in perforce sdp in case review for common crontab is approved. | ||
| #1 | 22686 | Russell C. Jackson (Rusty) | Two small scripts to allow using a single crontab for all servers by putting all the entries into one file and only running based on server type. |