diff options
| author | Thijs Paelman <thijs@ouroboros.rocks> | 2025-11-11 19:20:06 +0100 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2025-11-24 13:29:37 +0100 |
| commit | 3430c1a0c99e52685783a58c1c717eb54aa06a69 (patch) | |
| tree | be13c3d26cc75e5b4448a542110e345f553dad1c /irmd.conf.in | |
| parent | e54be25b524316006d7a36893c8847d438df06e5 (diff) | |
| download | ouroboros-3430c1a0c99e52685783a58c1c717eb54aa06a69.tar.gz ouroboros-3430c1a0c99e52685783a58c1c717eb54aa06a69.zip | |
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 <thijs@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'irmd.conf.in')
| -rw-r--r-- | irmd.conf.in | 9 |
1 files changed, 5 insertions, 4 deletions
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 |
