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
Modification : etc/sv/ : polissage et généralise un peu.
[lhc/ateliers.git]
/
etc
/
sv
/
fcgi.80.git.heureux-cyclage.org
/
run
diff --git
a/etc/sv/fcgi.80.git.heureux-cyclage.org/run
b/etc/sv/fcgi.80.git.heureux-cyclage.org/run
index
5e19e1f
..
fc32089
100755
(executable)
--- a/
etc/sv/fcgi.80.git.heureux-cyclage.org/run
+++ b/
etc/sv/fcgi.80.git.heureux-cyclage.org/run
@@
-1,6
+1,10
@@
#!/bin/sh -efux
exec 2>&1
-run_user=fcgi.80.git.heureux-cyclage.org
+sv=$(basename "$(cd "$(dirname "$0")" && cd -)")
+IFS=. read -r service site <<-EOF
+ $sv
+ EOF
+run_user=$sv
sock_user=www-data
exec /usr/bin/spawn-fcgi \
-g "$run_user" \