hotcuts/reboot.sh

4 lines
133 B
Bash
Raw Normal View History

2021-09-01 23:35:47 +02:00
#!/usr/bin/bash
2021-09-01 23:34:53 +02:00
ps -ef | grep 'hotcutdaemon.py' | grep -v grep | awk '{print $2}' | xargs -r kill -9
2021-09-01 23:38:42 +02:00
nohup python3 hotcutdaemon.py &