Release Gitea 1.23.7
This commit is contained in:
BIN
Binary file not shown.
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/conffiles
|
||||
File diff suppressed because it is too large
Load Diff
Executable
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
../../../../../shared/app.ini
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/conffiles
|
||||
File diff suppressed because it is too large
Load Diff
Executable
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
../../../../../shared/app.ini
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1 @@
|
||||
2b74aba2edeeca5ac65847a21c2639bf9b0fdbea94ea389fa5afd2b7f87b1b92 gitea-1.23.4-linux-amd64.xz
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1 @@
|
||||
57ddfffb3b0e0491b8b4a965d02e24ceace13a9cff13cff56928c7553c8badf1 gitea-1.23.5-linux-amd64.xz
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1 @@
|
||||
62b5ba4d9f6494ef397890c5caadb94fba90afd55fbd98c2d2b12be0ec002ce5 gitea-1.23.4-linux-arm64.xz
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1 @@
|
||||
b8131a7cbfadc115125bb43d28d93b775da76ce09968726d94d12bec54dcf7da gitea-1.23.5-linux-arm64.xz
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2812
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
/etc/systemd/system/gitea.service
|
||||
/etc/gitea/app.ini
|
||||
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
Requires=mariadb.service
|
||||
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=simple
|
||||
User=gitea
|
||||
Group=gitea
|
||||
WorkingDirectory=/opt/gitea/
|
||||
ExecStart=/opt/gitea/bin/gitea web --config /etc/gitea/app.ini
|
||||
Restart=always
|
||||
Environment="GITEA_WORK_DIR=/opt/gitea/gitea"
|
||||
Environment="GITEA_CUSTOM=/opt/gitea/custom"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Executable
+27
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Ensure Gitea user and group exist
|
||||
if ! id gitea >/dev/null 2>&1; then
|
||||
adduser --system --group --home /opt/gitea gitea
|
||||
fi
|
||||
|
||||
# Ensure config directory exists
|
||||
mkdir -p /etc/gitea
|
||||
chown -R gitea:gitea /etc/gitea
|
||||
chmod 750 /etc/gitea
|
||||
|
||||
# Copy default config if not present
|
||||
if [ ! -f /etc/gitea/app.ini ]; then
|
||||
echo "Creating default /etc/gitea/app.ini"
|
||||
cp /usr/share/gitea/defaults/app.ini /etc/gitea/app.ini
|
||||
chown gitea:gitea /etc/gitea/app.ini
|
||||
chmod 640 /etc/gitea/app.ini
|
||||
fi
|
||||
|
||||
# Reload systemd
|
||||
systemctl daemon-reload
|
||||
|
||||
# Enable and start Gitea service
|
||||
systemctl enable gitea.service
|
||||
systemctl start gitea.service
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Stop the Gitea service before updating/removal
|
||||
systemctl stop gitea || true
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user