[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, master, updated. 148332ef45997ba3aaf38cc2c9a28441083bad49

Holger Levsen holger at layer-acht.org
Fri Dec 23 10:23:44 UTC 2011


The following commit has been merged in the master branch:
commit 61646d4ef039f9a53049d21c73bb6c41c4b0b13d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Oct 23 14:18:53 2011 +0200

    start slave with right PYTHONPATH

diff --git a/home/piupartss/bin/slave_run b/home/piupartss/bin/slave_run
index 155242f..1f79314 100755
--- a/home/piupartss/bin/slave_run
+++ b/home/piupartss/bin/slave_run
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Copyright 2009-2010 Holger Levsen (holger at layer-acht.org)
+# Copyright 2009-2011 Holger Levsen (holger at layer-acht.org)
 # 
 # This program is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by the
@@ -31,7 +31,7 @@ rm -f $SCREENLOG					# used by ~piupartsm/bin/detect_slave_problems
 rm -f $MONITORDIR/*					# used by several scripts to only warn once a day 
 
 trap "cat $SCREENLOG | mail -s 'slave abnormaly ended' piupartsm ; rm $SCREENLOG; exit" TERM EXIT
-screen -L -d -m -S piuparts-slave-screen su - piupartss -c "cd /org/piuparts.debian.org/slave && python ../share/piuparts/piuparts-slave"
+screen -L -d -m -S piuparts-slave-screen su - piupartss -c "cd /org/piuparts.debian.org/slave && PYTHONPATH=$PYTHONPATH python ../share/piuparts/piuparts-slave"
 trap - TERM EXIT
 
 echo "piuparts-slave has been started."

-- 
piatti.debian.org configuration files



More information about the Piuparts-commits mailing list