From 186abc852a9f442d94cf7fdf44f394993173ccd1 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 11 Dec 2008 10:14:55 -0500 Subject: Move tupkg scripts to tupkg/scripts. Signed-off-by: Loui Chang --- support/scripts/run-tupkgs | 4 ---- support/scripts/run-tupkgupdate | 19 ------------------- support/scripts/stop-tupkgs | 3 --- tupkg/scripts/run-tupkgs | 4 ++++ tupkg/scripts/run-tupkgupdate | 19 +++++++++++++++++++ tupkg/scripts/stop-tupkgs | 3 +++ 6 files changed, 26 insertions(+), 26 deletions(-) delete mode 100755 support/scripts/run-tupkgs delete mode 100755 support/scripts/run-tupkgupdate delete mode 100755 support/scripts/stop-tupkgs create mode 100755 tupkg/scripts/run-tupkgs create mode 100755 tupkg/scripts/run-tupkgupdate create mode 100755 tupkg/scripts/stop-tupkgs diff --git a/support/scripts/run-tupkgs b/support/scripts/run-tupkgs deleted file mode 100755 index 429f815a..00000000 --- a/support/scripts/run-tupkgs +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -aurroot=/srv/http/aur - -nohup $aurroot/aur/tupkg/server/tupkgs -c $aurroot/tupkgs.conf > $aurroot/tupkgs.log 2>&1 & diff --git a/support/scripts/run-tupkgupdate b/support/scripts/run-tupkgupdate deleted file mode 100755 index 955144a6..00000000 --- a/support/scripts/run-tupkgupdate +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -aurroot=/srv/http/aur - -# Set HOME for correct cvs auth. -HOME=$aurroot - -echo "--------------------" -date - -# Update the CVS tree. -# Filter out useless output. -cd $aurroot/cvs -echo "Updating CVS..." -cvs update -dP 2>&1 | grep -v "Updating" - -# tupkgupdate -$aurroot/aur/tupkg/update/tupkgupdate -c $aurroot/tupkgs.conf --delete --paranoid /srv/ftp/community/os/i686 $aurroot/cvs $aurroot/packages/full - diff --git a/support/scripts/stop-tupkgs b/support/scripts/stop-tupkgs deleted file mode 100755 index b0e4c027..00000000 --- a/support/scripts/stop-tupkgs +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -killall tupkgs diff --git a/tupkg/scripts/run-tupkgs b/tupkg/scripts/run-tupkgs new file mode 100755 index 00000000..429f815a --- /dev/null +++ b/tupkg/scripts/run-tupkgs @@ -0,0 +1,4 @@ +#!/bin/bash +aurroot=/srv/http/aur + +nohup $aurroot/aur/tupkg/server/tupkgs -c $aurroot/tupkgs.conf > $aurroot/tupkgs.log 2>&1 & diff --git a/tupkg/scripts/run-tupkgupdate b/tupkg/scripts/run-tupkgupdate new file mode 100755 index 00000000..955144a6 --- /dev/null +++ b/tupkg/scripts/run-tupkgupdate @@ -0,0 +1,19 @@ +#!/bin/bash + +aurroot=/srv/http/aur + +# Set HOME for correct cvs auth. +HOME=$aurroot + +echo "--------------------" +date + +# Update the CVS tree. +# Filter out useless output. +cd $aurroot/cvs +echo "Updating CVS..." +cvs update -dP 2>&1 | grep -v "Updating" + +# tupkgupdate +$aurroot/aur/tupkg/update/tupkgupdate -c $aurroot/tupkgs.conf --delete --paranoid /srv/ftp/community/os/i686 $aurroot/cvs $aurroot/packages/full + diff --git a/tupkg/scripts/stop-tupkgs b/tupkg/scripts/stop-tupkgs new file mode 100755 index 00000000..b0e4c027 --- /dev/null +++ b/tupkg/scripts/stop-tupkgs @@ -0,0 +1,3 @@ +#!/bin/bash + +killall tupkgs -- cgit v1.2.3-24-g4f1b