diff --git a/modules/realadsb.nix b/modules/realadsb.nix index 57a6c9d..cde651d 100644 --- a/modules/realadsb.nix +++ b/modules/realadsb.nix @@ -34,7 +34,10 @@ in Type = "simple"; DynamicUser = true; Restart = "on-failure"; + LogsDirectory = "realadsb"; ExecStart = "${lib.getExe cfg.package} ${configFile cfg}"; + StandardOutput = file:/var/log/realadsb.log; + StandardError = file:/var/log/realadsb.log; }; }; };