On Di, 26.01.21 01:19, Martin Wilck (mwilck@xxxxxxxx) wrote: > On Mon, 2021-01-25 at 18:33 +0100, Lennart Poettering wrote: > > > > Consider using IgnoreOnIsolate=. > > > > I fail to make this work. Installed this to the initrd (note the > ExecStop "command"): > > [Unit] > Description=NVMe Event Monitor for Automatical Subsystem Connection > Documentation=man:nvme-monitor(1) > DefaultDependencies=false > Conflicts=shutdown.target > Requires=systemd-udevd-kernel.socket > After=systemd-udevd-kernel.socket Why do you require this? My guess: the socket unit gets shutdown, and since you have Requires= on it you thus go away too. Lennart -- Lennart Poettering, Berlin _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel