first test installation successful

This commit is contained in:
2025-02-22 19:07:58 +01:00
parent 68b659f87f
commit e0c628a4a6
11 changed files with 97 additions and 2 deletions

11
amd64/DEBIAN/postinst Executable file

@ -0,0 +1,11 @@
#!/bin/sh
set -e
# Ensure systemd is aware of the new service file
systemctl daemon-reload
# Enable and start Gitea service
systemctl enable gitea
systemctl restart gitea || true
exit 0

7
amd64/DEBIAN/prerm Executable file

@ -0,0 +1,7 @@
#!/bin/sh
set -e
# Stop the Gitea service before updating/removal
systemctl stop gitea || true
exit 0

BIN
amd64/opt/gitea/bin/gitea Executable file

Binary file not shown.

Binary file not shown.