mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-24 21:04:46 +02:00
10 lines
294 B
Bash
10 lines
294 B
Bash
#!/bin/sh -e
|
|
|
|
# stop and disable bitcoincld service if systemctl exists and is executable
|
|
if [ -x "/bin/systemctl" ]; then
|
|
echo "Stopping bitcoincld.service"
|
|
/bin/systemctl stop bitcoincld.service
|
|
echo "Disabling bitcoincld.service"
|
|
/bin/systemctl disable bitcoincld.service
|
|
fi
|