Open alfille opened 1 year ago
As promised, a more complete qmidinet systemd service file Should be placed in: /lib/systemd/system, or /etc/systemd/system
; --------------------------------------------------------------------------------- ; qmidinet.service ; ---------------------------------------------------------------------------------
After = local-fs.target network.target Description = qmidinet -- MIDI Network Gateway via UDP/IP Multicast Documentation = man:qmidinet(1)
[Install] WantedBy = multi-user.target
[Service] User = root Type = exec Restart = on-failure RestartSec = 3 ; ; Note all default choices except ; num ports (1) ; no-gui (required for systemd daemon mode) ; qmidinet program location might be /usr/local/bin/qmidinet ExecStart = /usr/bin/qmidinet \ --alsa-midi=yes \ --jack-midi=no \ --interface=all \ --address=225.0.0.37 \ --port=21928 \ --num-ports=4 \ --no-gui
Based on reveloxmidi, this systemd service file works for me: file: qmidinet.service
[Unit] After=local-fs.target network.target Description=qmidinet MIDI UDP server network server Documentation=man:qmidinet(1)
[Install] WantedBy=multi-user.target
[Service] User=root Type=exec
PIDFile=/run/qmidinet.pid
ExecStart=/usr/bin/qmidinet -a1 -n4 -g Restart=on-failure RestartSec=3
Perhaps spelling out long forms of the options, and offering some extra choices in commented-out lines would be helpful