On Mon, Jan 11, 2016 at 3:38 PM, John Lane <syst...@jelmail.com> wrote:
> On 11/01/16 13:09, Tomasz Torcz wrote: > > On Mon, Jan 11, 2016 at 12:39:10PM +0000, John Lane wrote: > >> I have some services in my initramfs that unlock some crypto volumes to > >> make the root and some other filesystems available. > > This seems relevant: > > https://wiki.freedesktop.org/www/Software/systemd/RootStorageDaemons/ > > > Yeah, I read that. But it doesn't explain how to configure a unit. I > read the bit about processes where the first character of the zeroth > command line argument is '@' are excluded from the killing spree, but > not sure how to do that from a unit specification file. This is primarily meant to be done by daemons themselves, and I'm really not sure if it works when done "externally" from a .service – but worth a try: ExecStart=@/usr/bin/myservice @myservice --option --option KillMode=none (The two "@"s have different meanings – the first one is documented in systemd.service, the second in RootStorageDaemons.) -- Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel