#!/bin/sh
set -e

case "$1" in
remove|deconfigure)
    if [ -d /run/systemd/system ]; then
        systemctl stop gitea-runner.service || true
    fi
    ;;
esac

exit 0
