EAC Linux v2 on Gentoo with OpenRC: ebuilds, host config, tools, docs
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Logs every call and succeeds, so the caller moves on to its next step.
|
||||
log=${SYSTEMD_TRACE_DIR:-/tmp}/systemd-trace.$(id -u).log
|
||||
{
|
||||
printf '%s systemctl pid=%s uid=%s parent=%s\n' "$(date +%T.%N)" "$$" "$(id -u)" \
|
||||
"$(tr '\0' ' ' </proc/$PPID/cmdline)"
|
||||
printf ' argv:'
|
||||
printf ' %q' "$@"
|
||||
echo
|
||||
} >>"$log"
|
||||
exit "${SYSTEMD_TRACE_RC:-0}"
|
||||
Reference in New Issue
Block a user