qmidinet icon indicating copy to clipboard operation
qmidinet copied to clipboard

Suggested systemd file

Open alfille opened this issue 2 years ago • 2 comments

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

alfille avatar May 21 '23 14:05 alfille

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

alfille avatar May 23 '23 01:05 alfille

qmidinet.tar.gz

alfille avatar May 23 '23 01:05 alfille