[systemd-devel] Service reactivation with device plugging
Rob Spanton
rspanton at zepler.net
Tue Jul 3 17:44:41 PDT 2012
Hi Mirco,
Mirco Tischler wrote:
> For clues on how to let udev start things for you see the
> systemd.device man page A unit like this should work with udev
> activation:
>
> [Unit]
> Description=...
> BindTo=dev-serial-a.device dev-serial-b.device
> After=dev-serial-a.device dev-serial-b.device
I think I tried switching to use BindTo instead of Requires at some
point, and it still didn't get me what I wanted -- possibly due to some
interaction with the watchdog stuff that I was using.
I'll see whether I can replicate the situation. If anyone knows of a
way of persuading udev to generate 'pretend' events for non-existent
devices, then replicating this in a way other people could see would be
made much easier...
Cheers,
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120704/08fcbe0d/attachment.pgp>
More information about the systemd-devel
mailing list