commit 68b659f87f1aa0b017d30f15ebb2996b9ef2e5e4 Author: tracer <tracer@24unix.net> Date: Sat Feb 22 14:41:51 2025 +0100 modified gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82c975f --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +# Ignore downloaded binaries and verification files +amd64/gitea-* +arm64/gitea-* + +# Ignore build artifacts +*.deb +build/ +tmp/ + +# Ignore common system files +.DS_Store +*.swp diff --git a/amd64/DEBIAN/control b/amd64/DEBIAN/control new file mode 100644 index 0000000..b291007 --- /dev/null +++ b/amd64/DEBIAN/control @@ -0,0 +1,7 @@ +Package: gitea +Version: 1.23.4-1 +Architecture: amd64 +Maintainer: Micha Espey <tracer@24unix.net> +Depends: adduser, ca-certificates, git, openssh-server, gpg, jq +Description: Gitea - Git with a cup of tea + A painless self-hosted Git service. diff --git a/amd64/etc/systemd/system/gitea.service b/amd64/etc/systemd/system/gitea.service new file mode 100644 index 0000000..65796d7 --- /dev/null +++ b/amd64/etc/systemd/system/gitea.service @@ -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 diff --git a/amd64/opt/gitea/gitea.asc b/amd64/opt/gitea/gitea.asc new file mode 100644 index 0000000..99d858a Binary files /dev/null and b/amd64/opt/gitea/gitea.asc differ diff --git a/arm64/DEBIAN/control b/arm64/DEBIAN/control new file mode 100644 index 0000000..65e7837 --- /dev/null +++ b/arm64/DEBIAN/control @@ -0,0 +1,7 @@ +Package: gitea +Version: 1.23.4-1 +Architecture: arm64 +Maintainer: Micha Espey <tracer@24unix.net> +Depends: adduser, ca-certificates, git, openssh-server, gpg, jq +Description: Gitea - Git with a cup of tea + A painless self-hosted Git service. diff --git a/arm64/etc/systemd/system/gitea.service b/arm64/etc/systemd/system/gitea.service new file mode 100644 index 0000000..65796d7 --- /dev/null +++ b/arm64/etc/systemd/system/gitea.service @@ -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 diff --git a/arm64/opt/gitea/gitea.asc b/arm64/opt/gitea/gitea.asc new file mode 100644 index 0000000..a83fdb1 Binary files /dev/null and b/arm64/opt/gitea/gitea.asc differ