Delay Jail / plugin from starting after boot

elmo putney

Cadet
Joined
Nov 12, 2020
Messages
7
I have zoneminder as a plugin and 50% of the time it starts up in a "stopped" state, I think this is because it is starting before SQL, does anyone know how to delay the start of a jail or plugin for a few seconds to allow other processes/services to get up and running before hand?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Set autostart to off and create a post-init task with content similar to this:
Code:
#! /bin/sh

( sleep 60; /usr/local/bin/iocage start jourjailname >/dev/null 2>&1 ) &
exit 0
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Just a guess, but maybe this would also help?
1623787313629.png


It's under Network | Global Configuration.
 
Top