summaryrefslogtreecommitdiff
path: root/public/fs/etc/pagure/pagure-cfg.sh
blob: 22e1e05ba8cfcc5a086538922823928c45625824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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"