diff options
Diffstat (limited to 'brew/tailscale.tb-local.rb')
| -rw-r--r-- | brew/tailscale.tb-local.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/brew/tailscale.tb-local.rb b/brew/tailscale.tb-local.rb index f57c990f8..499e7b0b3 100644 --- a/brew/tailscale.tb-local.rb +++ b/brew/tailscale.tb-local.rb @@ -57,6 +57,14 @@ class Tailscale < Formula (var/"lib/tailscale").mkpath end + def caveats + <<~EOS + To have launchd start tailscale now and restart at boot: + sudo brew services start tailscale + NOTE: The caveat message below with 'restart at login' is incorrect, but we can't suppress it. Requires sudo. + EOS + end + plist_options manual: "sudo tailscaled --socket=#{HOMEBREW_PREFIX}/run/tailscale/tailscaled.sock --state=#{HOMEBREW_PREFIX}/lib/tailscale/tailscaled.state" def plist @@ -94,7 +102,8 @@ class Tailscale < Formula end test do - system bin/"tailscale", "--version" + system bin/"tailscale", "version" + system bin/"tailscaled", "-version" system bin/"tailscale", "netcheck" end end |
