mirror of
https://github.com/GwynethLlewelyn/goswi.git
synced 2026-08-14 00:58:00 +00:00
Doc: explanation on how to set NOTIFY_SOCKET
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user