Re: Dependencies on shutdown?

2019-02-25 Thread Colin Booth
On Tue, Feb 26, 2019 at 02:17:51AM -0500, Steve Litt wrote: > Hi all, > > Let's say I have dependencies so that shutdown must be done in the > right order. For instance, I want to have my web app close before my > database, so that all final writes get done. How do I do that in runit > or s6? > U

Dependencies on shutdown?

2019-02-25 Thread Steve Litt
Hi all, Let's say I have dependencies so that shutdown must be done in the right order. For instance, I want to have my web app close before my database, so that all final writes get done. How do I do that in runit or s6? Thanks, SteveT