From 3430c1a0c99e52685783a58c1c717eb54aa06a69 Mon Sep 17 00:00:00 2001 From: Thijs Paelman Date: Tue, 11 Nov 2025 19:20:06 +0100 Subject: build: Fix systemd --config option The --config command line parameter in the systemd service unit was never properly set at install, because the CMake variables LIBTOML_LIBRARIES and DISABLE_CONFIGFILE are only defined after descending into the `src/` directory. The systemd service file is correctly configured if CMake does this *after* it processed `src/irmd/CMakeLists.txt`. There should also be a path seperator in between the config directory and the config file, which wasn't the case anymore due to e35302ca0ab64edd21b9d8e40d3aa74a3a4f4f7e. Refine the config file wording at the same moment. Signed-off-by: Thijs Paelman Signed-off-by: Sander Vrijders --- irmd.conf.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'irmd.conf.in') diff --git a/irmd.conf.in b/irmd.conf.in index 83ab19b5..cdfd0309 100644 --- a/irmd.conf.in +++ b/irmd.conf.in @@ -1,9 +1,10 @@ ### Example Ouroboros configuration file # -# This file contains a summary of current machine configuration -# options for the O7s prototype. The IRMd will attempt to load its -# configuration file during startup from the file -# @OUROBOROS_CONFIG_DIR@@OUROBOROS_CONFIG_FILE@. +# This file contains a summary of current machine configuration options +# for the O7s prototype. The IRMd systemd service will by default +# attempt to load its configuration file during startup from the file +# @OUROBOROS_CONFIG_DIR@/@OUROBOROS_CONFIG_FILE@. +# If not found, it will error out. # # At the top level, it accepts configuration of # services via the "name" directive, and configuration of the network -- cgit v1.2.3