Blob Blame History Raw
#!/bin/sh

set -eu

source /root/config/private/fs/etc/server.ports
source /root/config/private/keys/pagure/pagure.keys

sed -e 's/@ssh_port@/'${ssh_port}'/g' \
	-e 's/@pagure_flask_key@/'${pagure_flask_key}'/g' \
	-e 's/@pagure_pgsql_key@/'${pagure_pgsql_key}'/g' \
	-e 's/@pagure_email_key@/'${pagure_email_key}'/g' \
	"$1"