#!/bin/bash

read -r -p "Delete the PingPlotter background service along with all its data and settings? [y/N] " reply </dev/tty
if [[ "$reply" != [yY]* ]]; then
    echo "Cancelled"
    exit 0
fi

exec "$(dirname "$0")/service-command" wipe
