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 : vm_hosted -> etc/sv/*/configure.sh .
[lhc/ateliers.git]
/
etc
/
sv
/
lhc-remorque
/
run
diff --git
a/etc/sv/lhc-remorque/run
b/etc/sv/lhc-remorque/run
index
0241c21
..
7f8b35a
100755
(executable)
--- a/
etc/sv/lhc-remorque/run
+++ b/
etc/sv/lhc-remorque/run
@@
-1,19
+1,9
@@
#!/bin/sh -eux
exec 2>&1
sv=${PWD#/etc/sv/}
#!/bin/sh -eux
exec 2>&1
sv=${PWD#/etc/sv/}
-home=~www/pub/"$sv"
/usr/bin/sv -w 3 start sshd
/usr/bin/sv -w 3 start sshd
-getent passwd fcgi-"$sv" >/dev/null ||
-adduser fcgi-"$sv" \
- --disabled-login \
- --disabled-password \
- --group \
- --home "$home" \
- --shell /bin/false \
- --system
-
install -d -m 1771 -o root -g root \
/run/spawn-fcgi
install -d -m 1771 -o root -g root \
/run/spawn-fcgi