All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in -12s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -5s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 0s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 9s
Build and Release / release (push) Successful in 38s
- 移除多发行版 Debian Package Registry 上传(bookworm、trixie) - 统一上传到 stable 发行版池,简化维护和用户体验 - 更新 README 和文档系统的安装指南 - 新增 CI 工作流程概述文档 - 保持 ubuntu 和 alpine 双发行版构建支持
18 lines
407 B
Bash
Executable File
18 lines
407 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Stop and disable service if running
|
|
if [ -d /run/systemd/system ]; then
|
|
if systemctl is-active --quiet p2pool.service; then
|
|
echo "Stopping p2pool service..."
|
|
systemctl stop p2pool.service
|
|
fi
|
|
|
|
if systemctl is-enabled --quiet p2pool.service 2>/dev/null; then
|
|
echo "Disabling p2pool service..."
|
|
systemctl disable p2pool.service
|
|
fi
|
|
fi
|
|
|
|
exit 0
|