Re: How to chain services driven by a timer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
BSD admin/developer at large	



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux