diff options
Diffstat (limited to 'support/scripts')
-rwxr-xr-x | support/scripts/run-tupkgs | 3 | ||||
-rwxr-xr-x | support/scripts/run-tupkgupdate | 16 | ||||
-rwxr-xr-x | support/scripts/stop-tupkgs | 3 | ||||
-rw-r--r-- | support/scripts/tupkgs.conf | 10 |
4 files changed, 32 insertions, 0 deletions
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 <repodir> <cvsdir> <incomingdir> +/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 |