Post Aq0qgwdBBvLHfIEtmq by jae@wizard.casa
(DIR) More posts by jae@wizard.casa
(DIR) Post #Aq0qgvZb7ksoNtYWZ6 by mms@mastodon.bsd.cafe
2025-01-12T17:09:13Z
0 likes, 0 repeats
How can I delay starting a jail after another? I have one with psql and miniflux fails to start without connection.
(DIR) Post #Aq0qgwdBBvLHfIEtmq by jae@wizard.casa
2025-01-12T17:22:22.711865Z
0 likes, 0 repeats
@mmsyou should be able to do something likepsql { host.hostname = "psql.local"; path = "/jails/psql"; ...}miniflux { host.hostname = "miniflux.local"; path = "/jails/miniflux"; depend = "psql"; ...}where the depend declaration will cause the jail to wait until the other one is upyou can also experiment with exec.poststart = "/bin/sleep 10" in the miniflux declaration.a lot of this is from memory, so let me know what i missed.