mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
f0fd067dca
This should help make use of host-specific certificates easier, as otherwise containers will have access to all certificates and private keys.
11 lines
319 B
Bash
Executable File
11 lines
319 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
# Create directories and correct permissions where needed.
|
|
install --owner letsencrypt --group letsencrypt --mode 0755 -d /var/lib/letsencrypt-certificates
|
|
chown -R letsencrypt:letsencrypt /var/lib/letsencrypt
|
|
|
|
# Run ACME verification with parameters given.
|
|
exec gosu letsencrypt /usr/bin/lego "$@"
|