zabbixlaunch/misc/udev/99-midi.rules

3 lines
244 B
Plaintext
Raw Normal View History

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}"