summaryrefslogtreecommitdiff
path: root/minecproxy/systemd.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-23 20:56:22 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-23 20:56:22 +0200
commitea053d96f7e89e053d4af8d39b04c5428760345f (patch)
tree8182ca73675ad3933b0f38cb48a99c69101309b4 /minecproxy/systemd.h
parent8c27290245b7bcc7cd2f72f3b4a7562294b43bbe (diff)
Big renaming, move some more functionality to shared lib
Diffstat (limited to 'minecproxy/systemd.h')
-rw-r--r--minecproxy/systemd.h14
1 files changed, 14 insertions, 0 deletions
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