Added restart

This commit is contained in:
EpicKiwi 2023-10-29 13:50:37 +01:00
parent a1499ce26d
commit c87904b996
Signed by: epickiwi
GPG Key ID: C4B28FD2729941CE
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
set -e
if [ "$GITEA_CUSTOM" == "" ]; then
GITEA_CUSTOM="/var/lib/gitea/custom"
fi
@ -14,4 +17,6 @@ case "$confirm" in
esac
mkdir -p "$GITEA_CUSTOM"
cp -r -v -f ./custom/* "$GITEA_CUSTOM/"
cp -r -v -f ./custom/* "$GITEA_CUSTOM/"
systemctl restart gitea