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
Ajout : vm_hosted : lhc-remorque .
[lhc/ateliers.git]
/
etc
/
sv
/
lhc-remorque
/
log
/
run
diff --git a/etc/sv/lhc-remorque/log/run
b/etc/sv/lhc-remorque/log/run
new file mode 100755
(executable)
index 0000000..
500b8ad
--- /dev/null
+++ b/
etc/sv/lhc-remorque/log/run
@@ -0,0
+1,7
@@
+#!/bin/sh -eux
+sv=${PWD%/log}
+sv=${sv#/etc/sv/}
+eval "home=~log-fcgi-$sv"
+cd "$home"
+exec chpst -u log-fcgi-"$sv":log-fcgi-"$sv" \
+ svlogd -v -tt "$home"