Doc: explanation on how to set NOTIFY_SOCKET

This commit is contained in:
Gwyneth Llewelyn
2025-11-06 18:31:50 +00:00
parent b731843718
commit 76026db177
+3 -1
View File
@@ -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