Some checks failed
Build and Release / build-and-test (amd64, ubuntu) (push) Failing after 19m29s
Build and Release / build-and-test (amd64, alpine) (push) Failing after 19m31s
Build and Release / build-and-test (arm64, ubuntu) (push) Failing after 50m10s
Build and Release / release (push) Has been cancelled
Build and Release / build-and-test (arm64, alpine) (push) Has been cancelled
11 lines
209 B
Bash
Executable File
11 lines
209 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Stop service if running
|
|
if [ -d /run/systemd/system ] && systemctl is-active --quiet p2pool.service; then
|
|
echo "Stopping P2Pool service..."
|
|
systemctl stop p2pool.service
|
|
fi
|
|
|
|
exit 0
|