mars/systemd-testing/trigger-wrapper-for-testing.sh

9 lines
162 B
Bash
Raw Normal View History

2020-12-14 19:37:58 +00:00
#!/bin/bash
pid=$BASHPID
ppid=$PPID
echo -n L $* $(pstree $pid) > /proc/sys/mars/trigger
exec /usr/local/bin/marsadm systemd-trigger >> /mars/trigger.log 2>&1