Files
xxxig-proxy/debian/prerm
T
Wang DefaandClaude Opus 4.8 116023cd24
Build and Release / build-and-test (amd64, alpine) (push) Successful in 20s
Build and Release / build-and-test (arm64, alpine) (push) Successful in 42s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 27s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 9s
Build and Release / release (push) Has been skipped
初始化 proxy 打包项目,对齐 xxxig 矿工项目
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 16:38:30 +08:00

16 lines
338 B
Bash

#!/bin/sh
set -e
# Stop service before removal
if [ -d /run/systemd/system ]; then
if systemctl is-active xxxig-proxy.service >/dev/null 2>&1; then
systemctl stop xxxig-proxy.service
fi
if systemctl is-enabled xxxig-proxy.service >/dev/null 2>&1; then
systemctl disable xxxig-proxy.service
fi
fi
exit 0