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

View File

@ -1,4 +1,7 @@
#!/bin/bash
set -e
if [ "$GITEA_CUSTOM" == "" ]; then
GITEA_CUSTOM="/var/lib/gitea/custom"
fi
@ -15,3 +18,5 @@ esac
mkdir -p "$GITEA_CUSTOM"
cp -r -v -f ./custom/* "$GITEA_CUSTOM/"
systemctl restart gitea