[systemd-devel] udev within a container

2013-07-26 Thread Rob Spanton
Hi, I would like to run some processes inside a container that interact with udev. Ideally udev would be within the same container as those processes, as then I could also have udev rules that started other things within that container too... However, as far as I can tell, it's not possible to r

Re: [systemd-devel] Service reactivation with device plugging

2012-07-03 Thread Rob Spanton
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

Re: [systemd-devel] Service reactivation with device plugging

2012-07-03 Thread Rob Spanton
Hi, I wrote: > I was recently working on an embedded system that had a daemon > [ ...which] needed to be run when both [serial] devices were plugged > in. If any of the devices was unplugged, the daemon would exit, and > would need to be restarted the next time both devices were plugged in. Auke

[systemd-devel] Service reactivation with device plugging

2012-07-03 Thread Rob Spanton
Hi, I was recently working on an embedded system that had a daemon that depended on the presence of two USB serial devices. The daemon needed to be run when both devices were plugged in. If any of the devices was unplugged, the daemon would exit, and would need to be restarted the next time both