> From: Andrei Borzenkov [mailto:[email protected]] 
> 
> Yes, set ENV{SYSTEMD_WANTS}="[email protected]" property on
> your device in udev rule; this will trigger starting of this service
> when device appears. You probably also want to add
> "BindsTo=dev-ttyUSB2.device" (or whatever name of your device unit is)
> so systemd stops it when dongle is unplugged and does not attempt to
> restart.

Works like a charm. Thanks.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:[email protected]

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to