This repository has been archived on 2020-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
stack/gitea/run.sh

13 lines
263 B
Bash
Raw Normal View History

2020-04-30 17:22:48 +00:00
envsubst < /init/app.ini > /data/gitea/conf/app.ini
2020-04-30 21:11:46 +00:00
mkdir /data/gitea/templates
for file in /init/templates/*
2020-04-30 19:25:24 +00:00
do
2020-04-30 21:11:46 +00:00
FILENAME=$(basename "$file")
echo "$file"
2020-04-30 20:35:31 +00:00
echo $FILENAME
2020-04-30 21:11:46 +00:00
envsubst < "$file" > "/data/gitea/templates/$FILENAME"
2020-04-30 19:25:24 +00:00
done
2020-04-30 21:11:46 +00:00
2020-04-30 17:22:48 +00:00
/bin/s6-svscan /etc/s6