#!/bin/bash # Run the hot-backup daemon process, which tails the Journal file . /etc/p4-settings cd $P4D_HOME/logDaemon || exit 1 if [ -f Setup.py -a ! -f Setup.py.backup ]; then cp Setup.py Setup.py.backup fi # Must export the P4D environment variables for X in $(set | cut -f 1 -d '=' | grep P4D); do export $X done # Unfortunately, this file needs to be updated everytime we put # a checkpoint on the backup server. This should be better scripted. python CreateSettings.py 9457 || exit 1 /usr/bin/python JournalDaemon.py >> $P4D_LOGDIR/p4hotbackup.log & # Create pid file if [ ! -z $1 ]; then echo $! > $1 fi
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 5810 | Matt Albrecht |
New version of logDaemon that has better bug fixes. Also added server-status web page for a pure client-side AJAX app that pulls together different server-side statistics. |
||
#3 | 5805 | Matt Albrecht | Update to version 1.3-alpha | ||
#2 | 5780 | Matt Albrecht | Update tool with lots of goodies | ||
#1 | 5424 | Matt Albrecht | Add a journal file daemon tool. |