From 0f8f73ed9f04fb478ccd15449c259f553be44f37 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 16 Aug 2011 10:19:18 +0100 Subject: [PATCH] Move the mirror home directory to /var/lib/mirror-admin. This seems like a place that will work everywhere. --- bin/run-mirrors | 2 +- etc/logrotate.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/run-mirrors b/bin/run-mirrors index 9d637b8..ef7f92c 100755 --- a/bin/run-mirrors +++ b/bin/run-mirrors @@ -9,7 +9,7 @@ case $(id -un) in esac ## Set up a plausible environment. -HOME=/mnt/ftp/mirror-admin; export HOME; cd +HOME=/var/lib/mirror-admin; export HOME; cd PATH=$HOME/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin export PATH umask 002 diff --git a/etc/logrotate.conf b/etc/logrotate.conf index 44f00d4..a67d4a2 100644 --- a/etc/logrotate.conf +++ b/etc/logrotate.conf @@ -7,5 +7,5 @@ rotate 31 minsize 4194304 daily -/mnt/ftp/mirror-admin/log/*.log { +/var/lib/mirror-admin/log/*.log { } -- 2.11.0