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:
https://www.raspberrypi.org/documentation/linux/usage/systemd.md
McLaren Labs rtpmidi can be run as a service so that whenever you start your Raspberry Pi rtpmidi can be ready to go. This is especially useful in a headless system where you want rtpmidi to route incoming RTP MIDI sessions to a specific MIDI destination.
One of our customers wanted to know how to do this, so we wrote up this HOWTO guide. Here we will show how to create a service that
- listens for incoming RTP-MIDI connections
- connects to MIDI Alsa port 128
- announces itslef on UDP Port 5006
- logs its output to Syslog
Read More »Run rtpmidi as a service on Raspberry Pi