This commit is contained in:
parent
09d1959ce6
commit
58386b0699
1 changed files with 8 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue