nixos/inadyn: fix cache directory path

The CacheDirectory subdirectory is already part of $CACHE_DIRECTORY.
This commit is contained in:
Keith Pine
2024-06-07 09:03:24 +02:00
committed by Bjørn Forsman
parent d9dab762a0
commit 6fda200fa4
+1 -1
View File
@@ -202,7 +202,7 @@ in
startAt = cfg.interval;
serviceConfig = {
Type = "oneshot";
ExecStart = ''${lib.getExe pkgs.inadyn} -f ${configFile} --cache-dir ''${CACHE_DIRECTORY}/inadyn -1 --foreground -l ${cfg.logLevel}'';
ExecStart = ''${lib.getExe pkgs.inadyn} -f ${configFile} --cache-dir ''${CACHE_DIRECTORY} -1 --foreground -l ${cfg.logLevel}'';
LoadCredential = "config:${configFile}";
CacheDirectory = "inadyn";