summaryrefslogtreecommitdiff
path: root/public/fs/etc/pagure/pagure-cfg.sh
blob: e2bf7a33a16c028ebe884212adf73976129e3804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -eu

source /root/config/private/config/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"