From fae819296598100e41646e0bebc7d0bce45614f7 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 10 Jun 2020 11:22:29 +0200 Subject: Add initial systemd integration --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index da962b4..eace2d0 100644 --- a/main.c +++ b/main.c @@ -19,6 +19,7 @@ #include "server.h" #include "cfgdir.h" #include "announce.h" +#include "systemd.h" int debuglvl = 0; @@ -62,6 +63,7 @@ cfg_free(struct uring_task *task) struct cfg *cfg = container_of(task, struct cfg, task); fprintf(stderr, "%s: called\n", __func__); + systemd_delete(cfg); free(cfg); fprintf(stderr, "All resources free, exiting\n"); exiting = true; -- cgit v1.2.3