[-]
[+]
|
Changed |
opennebula.changes
|
|
[-]
[+]
|
Changed |
opennebula.spec
^
|
|
[-]
[+]
|
Added |
openneb_fixWritePID.patch
^
|
@@ -0,0 +1,20 @@
+--- share/scripts/one.orig 2011-07-09 00:26:39.821275554 +0200
++++ share/scripts/one 2011-07-09 00:27:54.520641073 +0200
+@@ -126,7 +126,7 @@
+ $ONED -f 2>&1 &
+
+ LASTRC=$?
+- LASTPID=$!
++ LASTPID=`pidof $ONED`
+
+ if [ $LASTRC -ne 0 ]; then
+ echo "Error executing $ONED"
+@@ -149,7 +149,7 @@
+ $ONE_SCHEDULER -p $PORT -t 30 -m 300 -d 30 -h 1&
+
+ LASTRC=$?
+- LASTPID=$!
++ LASTPID=`pidof $ONE_SCHEDULER`
+
+ if [ $LASTRC -ne 0 ]; then
+ echo "Error executing $ONE_SCHEDULER"
|