[systemd-devel] (solved) Re: How to chain services driven by a timer?

Brian Reichert reichert at numachi.com
Thu Apr 18 14:12:42 UTC 2024


On Wed, Apr 17, 2024 at 03:03:16PM -0600, Dan Nicholson wrote:
> I assume that this is just a script that does some post-processing on
> log files. In that case, I suggest that you use Type=oneshot with
> RemainAfterExit=no (the default). Then the service will actually wait
> until your script completes. Type=simple is expected to be used for a
> service that doesn't exit under normal conditions.

Thanks for the additional feedback; I don't see the harm in trying.

How, forensically, would I see the difference between 'simple' and
'oneshot', in my use case here?

> --
> Dan

-- 
Brian Reichert				<reichert at numachi.com>
BSD admin/developer at large	


More information about the systemd-devel mailing list