aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-10 00:32:41 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-10 00:32:41 +0000
commit466b7b836188cf9ef96c0f5fd995ba120b22ce1b (patch)
tree6cf2c7965f7f44a0691189eeb920431713fc5c80 /run-update.sh
parentMerge branch 'master' of git+ssh://robbat2@git.gentoo.org/var/gitroot/packages (diff)
downloadpackages-466b7b836188cf9ef96c0f5fd995ba120b22ce1b.tar.gz
packages-466b7b836188cf9ef96c0f5fd995ba120b22ce1b.tar.bz2
packages-466b7b836188cf9ef96c0f5fd995ba120b22ce1b.zip
This is the script used for cronjob.
Diffstat (limited to 'run-update.sh')
-rwxr-xr-xrun-update.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/run-update.sh b/run-update.sh
new file mode 100755
index 0000000..fc68af5
--- /dev/null
+++ b/run-update.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+BASEDIR=/var/www/packages2.gentoo.org/packages
+cd ${BASEDIR}/dbgenerator
+CONFIG_ROOT=.. PYTHONPATH=.. python core.py
+pkill -HUP -u gpackages -f 'web/controller.py'