From 90e27b4356f2a6ab98e812c4096b0b76f94a8fb3 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 7 Jul 2020 18:41:38 +0200 Subject: Flesh out the ping implementation --- shared/systemd.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 shared/systemd.h (limited to 'shared/systemd.h') diff --git a/shared/systemd.h b/shared/systemd.h new file mode 100644 index 0000000..0da1eca --- /dev/null +++ b/shared/systemd.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef foosharedsystemdhfoo +#define foosharedsystemdhfoo + +void systemd_delete(); + +bool systemd_service_running(struct server_config *scfg, const char **error); + +bool systemd_service_stop(struct server_config *scfg); + +bool systemd_service_start(struct server_config *scfg); + +#endif -- cgit v1.2.3