#!/bin/sh
#
# A script which defines all the values for the Perforce Service.
# Scripts which reference the Perforce server should source this
# file.
#
# I suggest that this file lives in /etc/p4d-settings
# Make sure that the logDaemon/Setup.py file matches these settings.
#


P4D_HOME=/usr/local/perforce
P4D_USER=perforce
P4D_ROOT=$P4D_HOME/db
P4D_PORT=1666
P4D_LOGDIR=/var/log/p4d
P4D_JOURNAL=$P4D_LOGDIR/live-journal
P4D_ARCHIVEDIR=$P4D_HOME/archives
P4D_ROTATE_JOURNAL=$P4D_ARCHIVEDIR/backup
P4D_LOG=$P4D_LOGDIR/p4d.log
P4D_SPAWNLOG=$P4D_LOGDIR/p4d.nice.log
P4D_HOST=192.168.141.27
P4D_SCRIPTDIR=$P4D_HOME/scripts

# a space-separated list of depots
P4D_DEPOTS='depot spec'

# Backup server settings
P4D_REMOTEHOST=p4backup
P4D_REMOTEUSER=perforce
P4D_REMOTEROOT=/usr/local/perforce/db

# Locations of the executables on the local server
P4D_P4=/usr/local/bin/p4
P4D_P4D=$P4D_HOME/p4d



# Daemon e-mail setup

## e-mail address in the 'From:' field for automated e-mails
P4D_EMAIL=p4d@company.somewhere

## who the automated e-mails are sent to
P4D_ADMIN_EMAIL=real_user@company.somewhere

## the 'reply-to' on the automated e-mails
P4D_EMAIL_REPLYTO=real_user@company.somewhere

## SMTP mail server hostname
P4D_SMTP_HOST=mailserver.somewhere