mirror of https://github.com/schoebel/mars
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
|