From 62c472f70f473db7946bc983fa7c41af6646a239 Mon Sep 17 00:00:00 2001 From: pjmattal Date: Mon, 11 Apr 2005 15:12:07 +0000 Subject: checked in scripts for launch (in /home/aur) to support/scripts added guidelines to the main index page --- support/scripts/run-tupkgs | 3 +++ support/scripts/run-tupkgupdate | 16 ++++++++++++++++ support/scripts/stop-tupkgs | 3 +++ support/scripts/tupkgs.conf | 10 ++++++++++ 4 files changed, 32 insertions(+) create mode 100755 support/scripts/run-tupkgs create mode 100755 support/scripts/run-tupkgupdate create mode 100755 support/scripts/stop-tupkgs create mode 100644 support/scripts/tupkgs.conf (limited to 'support') diff --git a/support/scripts/run-tupkgs b/support/scripts/run-tupkgs new file mode 100755 index 00000000..b5b3cb89 --- /dev/null +++ b/support/scripts/run-tupkgs @@ -0,0 +1,3 @@ +#!/bin/bash + +nohup /home/aur/aur/tupkg/server/tupkgs -c /home/aur/tupkgs.conf >/home/aur/tupkgs.log 2>&1 & diff --git a/support/scripts/run-tupkgupdate b/support/scripts/run-tupkgupdate new file mode 100755 index 00000000..f54464ef --- /dev/null +++ b/support/scripts/run-tupkgupdate @@ -0,0 +1,16 @@ +#/bin/bash + +echo "-----" +date + +# update the cvs tree +cd /home/aur/cvs +cvs update -d +cd - + +# sleep to avoid running into judd's permissions script!! +#sleep 30 + +# it's tupkgupdate +/home/aur/aur/tupkg/update/tupkgupdate --delete --paranoid /home/ftp/community/os/i686 /home/aur/cvs /home/aur/packages/full +date diff --git a/support/scripts/stop-tupkgs b/support/scripts/stop-tupkgs new file mode 100755 index 00000000..b0e4c027 --- /dev/null +++ b/support/scripts/stop-tupkgs @@ -0,0 +1,3 @@ +#!/bin/bash + +killall tupkgs diff --git a/support/scripts/tupkgs.conf b/support/scripts/tupkgs.conf new file mode 100644 index 00000000..ab108661 --- /dev/null +++ b/support/scripts/tupkgs.conf @@ -0,0 +1,10 @@ +[tupkgs] +port = 1034 +cachedir = /home/aur/packages/full +incomingdir = /home/aur/packages/partial + +[mysql] +username = aur +password = PbLus6wH +host = localhost +db = aur -- cgit v1.2.3-24-g4f1b