Move the mirror home directory to /var/lib/mirror-admin.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 16 Aug 2011 09:19:18 +0000 (10:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 16 Mar 2012 11:35:54 +0000 (11:35 +0000)
This seems like a place that will work everywhere.

bin/run-mirrors
etc/logrotate.conf

index 9d637b8..ef7f92c 100755 (executable)
@@ -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
index 44f00d4..a67d4a2 100644 (file)
@@ -7,5 +7,5 @@ rotate 31
 minsize 4194304
 daily
 
-/mnt/ftp/mirror-admin/log/*.log {
+/var/lib/mirror-admin/log/*.log {
 }