From b83939213206015631d3121469c581321e9820e7 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 30 Apr 2020 22:11:46 +0100 Subject: [PATCH] . --- README.md | 4 ++-- gitea/run.sh | 10 ++++++---- gitea/try.sh | 7 +++++++ 3 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 gitea/try.sh diff --git a/README.md b/README.md index 4df38e2..dd3a67f 100644 --- a/README.md +++ b/README.md @@ -163,8 +163,8 @@ sh make-cert.sh $REGISTRY_DOMAIN registry ### make environment variables ``` -export TITLE=SiGyl Ltd -export DESCRIPTION=Software Development +export TITLE="SiGyl Ltd!" +export DESCRIPTION="Software Development" export CERTBOT_EMAIL=giles.bradshaw@sigyl.com export DRONE_DOMAIN=drone.sigyl.com export DRONE_GITEA_SERVER=https://sigyl.com/git diff --git a/gitea/run.sh b/gitea/run.sh index 80d5210..88fba96 100644 --- a/gitea/run.sh +++ b/gitea/run.sh @@ -1,10 +1,12 @@ envsubst < /init/app.ini > /data/gitea/conf/app.ini - -for file in /init/templates +mkdir /data/gitea/templates +for file in /init/templates/* do - FILENAME=(basename "$file") + FILENAME=$(basename "$file") + echo "$file" echo $FILENAME - envsubst < "$file" > /data/gitea/templates/$FILENAME + envsubst < "$file" > "/data/gitea/templates/$FILENAME" done + /bin/s6-svscan /etc/s6 diff --git a/gitea/try.sh b/gitea/try.sh new file mode 100644 index 0000000..afd6acd --- /dev/null +++ b/gitea/try.sh @@ -0,0 +1,7 @@ +for file in /home/giles/stack/gitea/* +do + FILENAME=$(basename "$file") + echo "$file" + echo $FILENAME + #envsubst < "$file" > /data/gitea/templates/$FILENAME +done