Files
Gitea-Action/root/DEBIAN/prerm
Cantibra d5f8adb29b
All checks were successful
Gitea Action / Gitea Action [arm64] (push) Successful in 33s
Gitea Action / Gitea Action [amd64] (push) Successful in 31s
Inital Commit
2025-10-26 21:11:05 +01:00

20 lines
491 B
Bash

#!/usr/bin/sh
set -e
set -u
case "${1}" in
remove)
if [ -x '/usr/bin/deb-systemd-invoke' ]; then
/usr/bin/deb-systemd-invoke stop 'gitea-action.service' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-invoke disable 'gitea-action.service' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
if [ -x '/etc/init.d/gitea-action' ]; then
/usr/sbin/update-rc.d 'gitea-action' remove > '/dev/null' 2>&1 || \
/usr/bin/true
fi
;;
esac