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

envsubst < /init/app.ini > /data/gitea/conf/app.ini
mkdir /data/gitea/templates
for file in /init/templates/*
do
FILENAME=$(basename "$file")
echo "$file"
echo $FILENAME
envsubst < "$file" > "/data/gitea/templates/$FILENAME"
done
/bin/s6-svscan /etc/s6