@@ -0,0 +1,14 @@
#!/usr/bin/env bash
cd "$(dirname "$0")"
if [ -f .pid ]; then
PID=$(cat .pid)
if kill -0 "$PID" 2>/dev/null; then
kill "$PID"
echo "stopped pid=$PID"
else
echo "pid $PID not running"
fi
rm -f .pid
echo "no .pid file"
The note is not visible to the blocked user.