modules/impurity-logger: absolutize systemd-cat
This commit is contained in:
parent
d33af50221
commit
39bcaba5cc
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
mkTracer = name: target: exe: lib.getExe (pkgs.writeShellScriptBin name ''
|
||||
echo "PID $PPID executed ${target}" |& systemd-cat --identifier=impurity >/dev/null 2>/dev/null
|
||||
echo "PID $PPID executed ${target}" |& ${config.systemd.package}/bin/systemd-cat --identifier=impurity >/dev/null 2>/dev/null
|
||||
exec -a "$0" '${exe}' "$@"
|
||||
'');
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue