[systemd-devel] How to chain services driven by a timer?

Brian Reichert reichert at numachi.com
Thu Apr 11 15:14:20 UTC 2024


On Thu, Apr 11, 2024 at 04:58:05PM +0300, Andrei Borzenkov wrote:
> There are no ordering dependencies between your services, so they are
> started as soon as possible. if post-rotate.service must be started
> after logrotate.service, it needs
> 
> After=logrotate.service
> 
> This is also needed because otherwise the Requires directive does not
> work as intended.

That does seem to cause the correct behavior!  Thanks!

Let me wrap up some testing, and I'll report back if all is successful.

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


More information about the systemd-devel mailing list