hotcuts/reboot.sh
2021-09-01 23:38:42 +02:00

4 lines
133 B
Bash

#!/usr/bin/bash
ps -ef | grep 'hotcutdaemon.py' | grep -v grep | awk '{print $2}' | xargs -r kill -9
nohup python3 hotcutdaemon.py &