Fixed nohup

This commit is contained in:
Mattia Mascarello 2021-09-01 23:38:42 +02:00 committed by GitHub
parent 8e20aba933
commit 25087bfea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 &