17 lines
No EOL
373 B
Bash
17 lines
No EOL
373 B
Bash
#!/bin/sh
|
|
|
|
set -euo pipefail
|
|
|
|
if cat /trusted-certificates/* >> /etc/ssl/certs/ca-certificates.crt; then
|
|
echo "One or more trusted certificates have been copied"
|
|
fi
|
|
|
|
if ! [ -f /acme.sh/renewer-setup ]; then
|
|
echo "Performing initial setup"
|
|
/opt/scripts/initial-setup.sh
|
|
fi
|
|
|
|
echo "Renewer welcomes you"
|
|
|
|
# trap 'exit' INT TODO something like this
|
|
/entry.sh daemon |