From ea053d96f7e89e053d4af8d39b04c5428760345f Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 23 Jun 2020 20:56:22 +0200 Subject: Big renaming, move some more functionality to shared lib --- minecproxy/systemd.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 minecproxy/systemd.h (limited to 'minecproxy/systemd.h') diff --git a/minecproxy/systemd.h b/minecproxy/systemd.h new file mode 100644 index 0000000..d455044 --- /dev/null +++ b/minecproxy/systemd.h @@ -0,0 +1,14 @@ +#ifndef foosystemdhfoo +#define foosystemdhfoo + +char *systemd_object_path(const char *service); + +void systemd_delete(); + +bool systemd_service_running(struct server *server); + +bool systemd_service_stop(struct server *server); + +bool systemd_service_start(struct server *server); + +#endif -- cgit v1.2.3