Merge pull request #17 from ynixon/fix_init_script
Add check for docker-compose
This commit is contained in:
commit
0f3855358c
|
@ -1,5 +1,10 @@
|
||||||
#!/bin/bash
|
#!/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)
|
domains=(example.com www.example.com)
|
||||||
rsa_key_size=4096
|
rsa_key_size=4096
|
||||||
data_path="./data/certbot"
|
data_path="./data/certbot"
|
||||||
|
|
Loading…
Reference in New Issue