Fixed nohup

This commit is contained in:
2021-09-01 23:38:42 +02:00
committed by GitHub
parent 8e20aba933
commit 25087bfea1

View File

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