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
Correction : vm_remote : uniformise rule_runit_configure avec vm_hosted .
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
lhc-stats-tls
/
configure.sh
diff --git
a/etc/nginx/site.d/lhc-stats-tls/configure.sh
b/etc/nginx/site.d/lhc-stats-tls/configure.sh
index
02e19bd
..
da52d33
100644
(file)
--- a/
etc/nginx/site.d/lhc-stats-tls/configure.sh
+++ b/
etc/nginx/site.d/lhc-stats-tls/configure.sh
@@
-1,9
+1,9
@@
#!/bin/sh
set -e -f -u -x
#!/bin/sh
set -e -f -u -x
-local hint="run
vm_remote nginx_configure befor
e"
+local hint="run
before: ./vm_remote runit_configure nginx -- $sit
e"
assert "sudo test -f /etc/nginx/x509.d/\"$site\"/key.pem" hint
sudo install -m 664 -o www -g www \
assert "sudo test -f /etc/nginx/x509.d/\"$site\"/key.pem" hint
sudo install -m 664 -o www -g www \
- "$tool"/var/pub/x509/stats-cyclage.org/crt+ca.pem \
+ "$tool"/var/pub/x509/stats
.heureux
-cyclage.org/crt+ca.pem \
/etc/nginx/x509.d/"$site"/crt.pem
sudo rmdir ~www-data/"$site" || true
/etc/nginx/x509.d/"$site"/crt.pem
sudo rmdir ~www-data/"$site" || true