Hi, I think there is an issue with the nohup function to your script.
It says the below error, also gave absolute path of the script and for testing gave permission 777
prashant@ubuntu:~$ nohup sudo python dga-detection.py -o 2 -i enp0s3
nohup: ignoring input and appending output to 'nohup.out'
[sudo] password for prashant:
prashant@ubuntu:~$ cat nohup.out
python: can't open file 'dga-detection.py': [Errno 2] No such file or directory
Hi, I think there is an issue with the nohup function to your script. It says the below error, also gave absolute path of the script and for testing gave permission 777
prashant@ubuntu:~$ nohup sudo python dga-detection.py -o 2 -i enp0s3 nohup: ignoring input and appending output to 'nohup.out' [sudo] password for prashant: prashant@ubuntu:~$ cat nohup.out python: can't open file 'dga-detection.py': [Errno 2] No such file or directory