Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
58386b0699 |
1 changed files with 8 additions and 0 deletions
|
@ -5,4 +5,12 @@ if [ -f "$FILE" ]; then
|
||||||
systemctl restart gitea-page
|
systemctl restart gitea-page
|
||||||
else
|
else
|
||||||
cp /etc/gitea-page/config.yml.example /etc/gitea-page/config.yml
|
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
|
fi
|
Loading…
Reference in a new issue