summaryrefslogtreecommitdiff
path: root/mcserverproxy/systemd.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-23 16:25:36 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-23 16:25:36 +0200
commit8c27290245b7bcc7cd2f72f3b4a7562294b43bbe (patch)
tree54bae7909a94bfc598df7b88d9794742daf0bb31 /mcserverproxy/systemd.h
parent973ae757342b91e3e6aafd07e0c0a24af84aad98 (diff)
Split directories better
Diffstat (limited to 'mcserverproxy/systemd.h')
-rw-r--r--mcserverproxy/systemd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcserverproxy/systemd.h b/mcserverproxy/systemd.h
new file mode 100644
index 0000000..d455044
--- /dev/null
+++ b/mcserverproxy/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