/ de-omarchy / bin / omarchy-installed-service-tailscale
swadhinbiswas Initial de-omarchy: Omarchy UI layer for Arch-based distros · 8/22/2026
9f393b2
13 lines · 319 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# omarchy:summary=Check whether Tailscale is installed and running
# omarchy:hidden=true

set -euo pipefail

if omarchy-cmd-present tailscale && tailscale status --json >/dev/null 2>&1; then
  exit 0
fi

systemctl is-active --quiet tailscaled.service >/dev/null 2>&1 || pgrep -x tailscaled >/dev/null 2>&1