From 76026db177f5a49e9e7fba1bc2dfd8be3123c422 Mon Sep 17 00:00:00 2001 From: Gwyneth Llewelyn Date: Thu, 6 Nov 2025 18:31:50 +0000 Subject: [PATCH] Doc: explanation on how to set NOTIFY_SOCKET --- notify_systemd_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/notify_systemd_test.go b/notify_systemd_test.go index 4c85b27..7e31c0a 100644 --- a/notify_systemd_test.go +++ b/notify_systemd_test.go @@ -1,6 +1,8 @@ //go:build systemd -// testing messages to systemd +// Testing messages to systemd. +// For this test to work, use `NOTIFY_SOCKET=/run/systemd/notify go test -tags systemd -test.run 'TestSystemdNotify(.*)' -v` +// Note that the socket path is for Ubuntu Linux; other systems may use different specifications. package main