projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d62de
)
script to start worker and capture log
author
Dobrica Pavlinusic
<dpavlin@rsync1>
Thu, 17 Nov 2011 23:41:46 +0000
(
00:41
+0100)
committer
Dobrica Pavlinusic
<dpavlin@rsync1>
Thu, 17 Nov 2011 23:41:46 +0000
(
00:41
+0100)
gearman-workers.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/gearman-workers.sh
b/gearman-workers.sh
new file mode 100755
(executable)
index 0000000..
ea96c77
--- /dev/null
+++ b/
gearman-workers.sh
@@ -0,0
+1,6
@@
+#!/bin/sh -xe
+
+test -e gearman/$1 || exit 1
+
+( sudo gearman -n -f $1 -w ./gearman/$1 2>&1 ) | tee /tmp/$1.log
+