install as service

This commit is contained in:
2026-08-30 12:41:40 +02:00
parent 3224f27f39
commit 2cab3f6c45
8 changed files with 111 additions and 3 deletions
+2
View File
@@ -8,6 +8,7 @@ def test_yaml_config_is_loaded_and_relative_paths_are_resolved(tmp_path):
server:
host: 127.0.0.1
port: 12345
threads: 6
url_prefix: weather/
storage:
rrd_folder: data
@@ -27,6 +28,7 @@ modules:
config = load_config(config_file)
assert config["HOST"] == "127.0.0.1"
assert config["PORT"] == 12345
assert config["THREADS"] == 6
assert config["URL_PREFIX"] == "/weather"
assert config["RRD_FOLDER"] == tmp_path / "data"
assert config["LOG_FILE"] == tmp_path / "logs/service.log"