💾 Archived View for gemini.leafstorm.org › en › computer › capsule-code › agate-fly › agate-launcher… captured on 2023-04-19 at 22:31:22.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

#!/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"