#! /bin/bash
# start_p4d.sh
#
# This script runs p4dctl to start the Helix Versioning Engine for the
# Perforce Technical Sales demonstration environment
export PATH=/bin:/usr/bin:/sbin:/usr/local/bin:/opt/perforce/bin:/opt/perforce/sbin:${PATH}
cd /p4db
p4dctl start main
# run the setup script
cd /home/perforce/perforce1666
# This loop keeps the container from exiting
while :
do
tail -f $P4LOG > /dev/null
done