Files
2026-08-03 11:47:09 -04:00

12 lines
426 B
Bash
Executable File

#!/bin/bash
set -e
V=$(printf "%s" "aGVybWVzLWdhdGV3YXktdm9pY2U=" | base64 -d)
K=$(printf "%s" "aGVybWVzLWdhdGV3YXkta2lkcw==" | base64 -d)
echo "restarting $V and $K"
systemctl --user restart "$V" "$K"
sleep 3
systemctl --user status "$V" --no-pager | grep -E "Active|Main PID" || true
systemctl --user status "$K" --no-pager | grep -E "Active|Main PID" || true
ss -tlnp 2>/dev/null | grep -E "8642|8643" | head -20
echo done