To run the process at boot time, I wrote a script in the rc.local file using the sudo command.
However, if you look up processes with the ps command, there are two processes, one with the sudo command and one without.
It doesn't affect the actual operation, but I wonder why two processes are created.
example
root 430 1 0 12월02 ? 00:00:00 sudo python3 process.py
root 511 423 0 12월02 ? 00:04:54 python3 process.py
can you answer me?