mirror of
https://github.com/wmnnd/nginx-certbot
synced 2023-04-20 18:47:46 +08:00
Merge pull request #17 from ynixon/fix_init_script
Add check for docker-compose
This commit is contained in:
commit
0f3855358c
5
init-letsencrypt.sh
Normal file → Executable file
5
init-letsencrypt.sh
Normal file → Executable file
@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! [ -x "$(command -v docker-compose)" ]; then
|
||||
echo 'Error: docker-compose is not installed.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
domains=(example.com www.example.com)
|
||||
rsa_key_size=4096
|
||||
data_path="./data/certbot"
|
||||
|
Loading…
x
Reference in New Issue
Block a user