Automating a script for a usb device on systemd?

view story

https://bbs.archlinux.org – WonderWoofy wrote:udev rulesEdit: read this http://www.reactivated.net/writing_udev_rules.htmlthat reminds me, you can use the SYSTEMD_WANTS tag in udev to start the service when the device is plugged in. this is documented in "man systemd.device" (and according to the man page this is actually the recommended method).it is however not supported to start long running processes via RUN+=. 65kid https://bbs.archlinux.org/profile.php?id=45818 2012-09-22T20:47:12Z (HowTos)