Run rtpmidi as a service on Raspberry Pi
A service is a program that the operating system automatically starts when it boots. On the Raspberry Pi "buster" operating system, the daemon that starts and stops services is called "systemd." You can read about creating services here: