[systemd-devel] systemctl and detach in udev RUN

Albert Strasheim fullung at gmail.com
Thu Oct 6 02:29:57 PDT 2011


Hello

On Wed, Oct 5, 2011 at 4:10 PM, Albert Strasheim <fullung at gmail.com> wrote:
> Hello all
> I have the following udev rule in a machine with a bunch of disks:
> SUBSYSTEM=="block", KERNEL=="sd*", TAG+="systemd", ACTION=="add",
> RUN+="/bin/systemctl restart blockinit@%k.service"

To answer myself: systemctl has a --no-block option that seems like
the right thing to do here.

Regards

Albert


More information about the systemd-devel mailing list