summaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/run-tupkgs3
-rwxr-xr-xsupport/scripts/run-tupkgupdate16
-rwxr-xr-xsupport/scripts/stop-tupkgs3
-rw-r--r--support/scripts/tupkgs.conf10
4 files changed, 32 insertions, 0 deletions
diff --git a/support/scripts/run-tupkgs b/support/scripts/run-tupkgs
new file mode 100755
index 0000000..b5b3cb8
--- /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 0000000..f54464e
--- /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 0000000..b0e4c02
--- /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 0000000..ab10866
--- /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