From: Alvaro Herrera Date: Thu, 19 Jan 2012 19:53:00 +0000 (-0300) Subject: Put lock files in /tmp X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=445afacd68ee891133edd9dbfcc39cc08a1e709d;p=pgweb-old.git Put lock files in /tmp This makes them go away on reboot, which makes it safe(r) to reboot the server while the processes are running. --- diff --git a/archives/etc/archives.conf b/archives/etc/archives.conf index 7d515dae..eff20efb 100644 --- a/archives/etc/archives.conf +++ b/archives/etc/archives.conf @@ -14,8 +14,8 @@ ARCHIVES_BIN=$ARCHIVES_HOME/bin ARCHIVES_ROOT=$ARCHIVES_HOME/html ARCHIVES_TMP=$ARCHIVES_HOME/tmp ARCHIVES_TEMPLATES=$ARCHIVES_HOME/templates -LOCKFILE=$ARCHIVES_HOME/mhonarc.lock -LOCKFILE_RSYNC=$ARCHIVES_HOME/rsync.lock +LOCKFILE=/tmp/mhonarc.lock +LOCKFILE_RSYNC=/tmp/rsync.lock # path to majordomo files on this host for rsync target MAJORDOMO_FILES=$ARCHIVES_HOME/majordomo