mirror of
https://github.com/schoebel/mars
synced 2024-12-23 07:03:09 +00:00
9 lines
162 B
Bash
9 lines
162 B
Bash
|
#!/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
|