sdnotify.go 493 B

12345678910111213
  1. // Copyright (c) Tailscale Inc & AUTHORS
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. /*
  4. Package sdnotify contains a minimal wrapper around systemd-notify to enable
  5. applications to signal readiness and status to systemd.
  6. This package will only have effect on Linux systems running Tailscale in a
  7. systemd unit with the Type=notify flag set. On other operating systems (or
  8. when running in a Linux distro without being run from inside systemd) this
  9. package will become a no-op.
  10. */
  11. package sdnotify