Re: [systemd-devel] [PATCH] service: Allow mainpid to restart in other than SERVICE_EXEC_START.

2011-01-17 Thread Lennart Poettering
On Mon, 10.01.11 20:22, Alexander E. Patrakov (patra...@gmail.com) wrote: > > 10.01.2011 18:57, Mirco Tischler wrote: > >This patch should fix it. Can you test it? The problem was that after a > >the mainpid exits, > >and because there are commands left to execute systemd assumes it > >executes a

Re: [systemd-devel] [PATCH] service: Allow mainpid to restart in other than SERVICE_EXEC_START.

2011-01-10 Thread Alexander E. Patrakov
10.01.2011 18:57, Mirco Tischler wrote: This patch should fix it. Can you test it? The problem was that after a the mainpid exits, and because there are commands left to execute systemd assumes it executes an ExecStart line from a type=oneshot service file. But in this case it executes an ExecRel

Re: [systemd-devel] [PATCH] service: Allow mainpid to restart in other than SERVICE_EXEC_START.

2011-01-10 Thread Alexander E. Patrakov
10.01.2011 18:57, Mirco Tischler wrote: This patch should fix it. Can you test it? The problem was that after a the mainpid exits, and because there are commands left to execute systemd assumes it executes an ExecStart line from a type=oneshot service file. But in this case it executes an ExecRel

[systemd-devel] [PATCH] service: Allow mainpid to restart in other than SERVICE_EXEC_START.

2011-01-10 Thread Mirco Tischler
This patch should fix it. Can you test it? The problem was that after a the mainpid exits, and because there are commands left to execute systemd assumes it executes an ExecStart line from a type=oneshot service file. But in this case it executes an ExecReload line. This patch simply removes the as