dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of ateliers.heureux-cyclage.org:lhc/ateliers
[lhc/ateliers.git]
/
etc
/
sv
/
fanout
/
run
diff --git a/etc/sv/fanout/run
b/etc/sv/fanout/run
new file mode 100755
(executable)
index 0000000..
bf65d66
--- /dev/null
+++ b/
etc/sv/fanout/run
@@ -0,0
+1,10
@@
+#!/bin/sh -eux
+exec 2>&1
+sv=${PWD#/etc/sv/}
+eval "home=~$sv"
+
+exec /usr/bin/chpst \
+ -u "$sv":"$sv" \
+ /usr/local/bin/fanout \
+ --debug-level=INFO \
+ --port=1986