Skip to content

Commit

Permalink
feat: redirect realadsb logging to file
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Sep 29, 2023
1 parent 9f88761 commit b32de99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/realadsb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};
};
Expand Down

0 comments on commit b32de99

Please sign in to comment.