first test installation successful
This commit is contained in:
11
arm64/DEBIAN/postinst
Executable file
11
arm64/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
arm64/DEBIAN/prerm
Executable file
7
arm64/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
|
Reference in New Issue
Block a user