first test installation successful
This commit is contained in:
11
amd64/DEBIAN/postinst
Executable file
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
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
BIN
amd64/opt/gitea/bin/gitea
Executable file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user