chore: archive mac mini automation baseline
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
U=$(printf "%s" "aGVybWVzLWdhdGV3YXktdm9pY2U=" | base64 -d)
|
||||
systemctl --user restart "$U"
|
||||
sleep 2
|
||||
systemctl --user status "$U" --no-pager | grep -E "Active|Main PID" || true
|
||||
ss -tlnp 2>/dev/null | grep 8642 || true
|
||||
echo done
|
||||
Reference in New Issue
Block a user