Move tupkg scripts to tupkg/scripts.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2008-12-11 10:14:55 -05:00
parent 084b11a6f2
commit 186abc852a
3 changed files with 0 additions and 0 deletions

4
tupkg/scripts/run-tupkgs Executable file
View file

@ -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 &

19
tupkg/scripts/run-tupkgupdate Executable file
View file

@ -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 <repodir> <cvsdir> <incomingdir>
$aurroot/aur/tupkg/update/tupkgupdate -c $aurroot/tupkgs.conf --delete --paranoid /srv/ftp/community/os/i686 $aurroot/cvs $aurroot/packages/full

3
tupkg/scripts/stop-tupkgs Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
killall tupkgs