From: Michael Tremer Date: Sat, 27 Sep 2025 10:45:56 +0000 (+0000) Subject: daemon: Create scaffolding X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6340586031138fa7f41a3b126b42af7b0a98f7a3;p=telemetry.git daemon: Create scaffolding Signed-off-by: Michael Tremer --- diff --git a/.gitignore b/.gitignore index 25d1187..f6a2aa4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /Makefile /build-aux +/collectyd /config.h* /libtool /man/*.[0-9] @@ -16,6 +17,7 @@ /*.tar.gz /*.tar.xz *.a +*.o *.la *.lo *.log diff --git a/Makefile.am b/Makefile.am index 2edd833..fc27410 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,6 +42,7 @@ DISTCLEANFILES = EXTRA_DIST = INSTALL_DIRS = noinst_DATA = +bin_PROGRAMS = AM_CPPFLAGS = \ -include $(top_builddir)/config.h \ @@ -84,6 +85,14 @@ dist_doc_DATA = \ # ------------------------------------------------------------------------------ +bin_PROGRAMS += \ + collectyd + +dist_collectyd_SOURCES = \ + src/daemon/main.c + +# ------------------------------------------------------------------------------ + dist_bin_SCRIPTS = \ src/scripts/collecty diff --git a/src/daemon/main.c b/src/daemon/main.c new file mode 100644 index 0000000..f9836f0 --- /dev/null +++ b/src/daemon/main.c @@ -0,0 +1,23 @@ +/*############################################################################# +# # +# collecty - A system statistics collection daemon for IPFire # +# Copyright (C) 2025 IPFire Development Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#############################################################################*/ + +int main(int argc, char* argv[]) { + return 0; +}