test: update serv daemon to use proper systemd abstract socket

This commit introduces a stripped down sd_notify(), taken from the
systemd man page example, which is used by the serv daemon in lieu
of the previous broken implementation.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-07-02 16:36:59 +02:00
1 parent 76f8a18816
commit d0d9b83b66
4 files changed
+114 -12

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
noinst_PROGRAMS = serv
serv_SOURCES = serv.c
serv_SOURCES = serv.c sd-daemon.c sd-daemon.h
serv_CPPFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE