Changes

From SME Server
Jump to navigationJump to search
15 bytes removed ,  02:24, 28 October 2016
m
Line 49: Line 49:  
  config set zoneminder service status enabled  
 
  config set zoneminder service status enabled  
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S98zoneminder
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S98zoneminder
The mysqlinit (init-default-databases) process (which starts after the zoneminder service) will have MySQL restarted whilst Zoneminder is actively using it. The Zoneminder service will not start for due to this running process. To prevent Zoneminder to start too quickly we delay the Zoneminder service to start a bit later by adding a sleep command in the script /etc/rc.d/init.d/zoneminder.
+
The mysqlinit (init-default-databases) process (which starts after the zoneminder service) will have MySQL restarted whilst Zoneminder is actively using it. The Zoneminder service will stop/not start due to this. To prevent Zoneminder to start too quickly we delay the Zoneminder service to start a bit later by adding a sleep command in the script /etc/rc.d/init.d/zoneminder.
 
  sed -i '/^start()/{N;s/$/\nsleep 10/}' /etc/rc.d/init.d/zoneminder
 
  sed -i '/^start()/{N;s/$/\nsleep 10/}' /etc/rc.d/init.d/zoneminder
 
You can now start Zoneminder manually:
 
You can now start Zoneminder manually:

Navigation menu