summaryrefslogtreecommitdiffstats
path: root/cron-jobs
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-11-21 07:42:56 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2008-11-21 07:42:56 +0100
commiteada2876aa5860edc17949154a505b8a431b1b83 (patch)
tree32b584e7098c6c6bfe5fdc606dadd20bc3ac8616 /cron-jobs
parent836152eed8893d6884796363419ce61ea7b7b417 (diff)
downloaddbscripts-eada2876aa5860edc17949154a505b8a431b1b83.tar.gz
dbscripts-eada2876aa5860edc17949154a505b8a431b1b83.tar.xz
Move cron-jobs to /srv from /home
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/adjust-permissions4
-rwxr-xr-xcron-jobs/createFileLists2
-rwxr-xr-xcron-jobs/sourceballs4
3 files changed, 5 insertions, 5 deletions
diff --git a/cron-jobs/adjust-permissions b/cron-jobs/adjust-permissions
index 1493f4b..307c319 100755
--- a/cron-jobs/adjust-permissions
+++ b/cron-jobs/adjust-permissions
@@ -9,7 +9,7 @@ fi
#adjust the nice level to run at a lower priority
/usr/bin/renice +10 -p $$ > /dev/null
-cd /home/ftp
+cd /srv/ftp
/bin/chown -R ftp:ftp-arch core/os/i686
/bin/chown -R ftp:ftp-arch core/os/x86_64
/bin/chown -R ftp:ftp-extra {extra,testing}/os/i686
@@ -20,6 +20,6 @@ for d in core extra testing community; do
/bin/chmod -R g+w $d/os/i686
/bin/chmod -R g+w $d/os/x86_64
done
-/bin/chmod 555 /home/ftp
+/bin/chmod 555 /srv/ftp
rm -f /tmp/.ftpmaint.lck
diff --git a/cron-jobs/createFileLists b/cron-jobs/createFileLists
index 044b6d7..9ce108c 100755
--- a/cron-jobs/createFileLists
+++ b/cron-jobs/createFileLists
@@ -1,6 +1,6 @@
#!/bin/bash
-reposdir=/home/ftp/
+reposdir=/srv/ftp/
#targetdir=/home/pierre/public_html/test-repo/
targetdir=$reposdir
repos="core extra unstable testing community"
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index fc313e3..00ca5e3 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -1,7 +1,7 @@
#!/bin/bash
-ftpbase="/home/ftp"
-srcbase="/home/ftp/sources"
+ftpbase="/srv/ftp"
+srcbase="/srv/ftp/sources"
repos="core extra testing"
arches="i686 x86_64"