#!/bin/sh if [ ! -z "$AGATE_KEY_DER" ]; then echo "$AGATE_KEY_DER" | base64 -d > /etc/agate-certs/key.der export AGATE_KEY_DER="###" fi if [ ! -z "$AGATE_CERT_DER" ]; then echo "$AGATE_CERT_DER" | base64 -d > /etc/agate-certs/cert.der export AGATE_CERT_DER="###" fi /usr/local/bin/agate \ --certs /etc/agate-certs \ --content /srv/gemini \ --hostname "$AGATE_HOSTNAME"