Stuff
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Kekskurse 2022-12-06 12:53:19 +01:00
parent 09d1959ce6
commit 58386b0699
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 8 additions and 0 deletions

View File

@ -5,4 +5,12 @@ if [ -f "$FILE" ]; then
systemctl restart gitea-page
else
cp /etc/gitea-page/config.yml.example /etc/gitea-page/config.yml
fi
FILE=/etc/gitea-page/nginx-config-template.txt.example
if [ -f "$FILE" ]; then
echo "Dont update config"
else
cp /etc/gitea-page/nginx-config-template.txt.example /etc/gitea-page/nginx-config-template.txt
fi