zabbixlaunch/misc/udev/99-midi.rules
2021-09-21 09:45:43 +02:00

3 lines
244 B
Plaintext

KERNEL=="midiC[D0-9]*", DRIVERS=="usb", ACTION=="add", PROGRAM="/usr/bin/systemctl start zabbixlaunch", NAME="snd/%c{1}"
KERNEL=="midiC[D0-9]*", DRIVERS=="usb", ACTION=="remove", PROGRAM="/usr/bin/systemctl stop zabbixlaunch", NAME="snd/%c{1}"