projects
/
fai-configs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f7d2d904dae892864b523ad5b0a958f6c40a6bd0
[fai-configs.git]
/
files
/
etc
/
init.d
/
request-letsencrypt
/
DEFAULT
1
#!/bin/bash
2
3
if
[ !
-d
/
etc
/
letsencrypt
/
archive
/
HOSTNAME_TOKEN
];
then
4
cd
/
srv
/
letsencrypt
5
/
letsencrypt-auto certonly
--standalone --agree-tos --email
LETSENCRYPT_EMAIL_TOKEN
-d
HOSTNAME_TOKEN
-d
SERVERNAME_TOKEN
6
fi
7