We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c40eb23 commit 6e48df8Copy full SHA for 6e48df8
scripts/dappnode_uninstall.sh
@@ -97,7 +97,7 @@ uninstall() {
97
# Clean up host DNS resolution artifacts (--resolve-from-host)
98
if $IS_LINUX; then
99
# systemd-resolved path: remove service, timer, and script
100
- if [ -f /etc/systemd/system/dappnode-dns.timer ]; then
+ if [ -f /etc/systemd/system/dappnode-dns.timer ] || [ -f /etc/systemd/system/dappnode-dns.service ] || [ -f /usr/local/bin/dappnode-dns.sh ]; then
101
echo "Removing dappnode-dns systemd timer and service..."
102
systemctl disable dappnode-dns.timer 2>/dev/null || true
103
systemctl stop dappnode-dns.timer 2>/dev/null || true
0 commit comments