Changes

From SME Server
Jump to navigationJump to search
231 bytes added ,  16:25, 25 October 2016
m
Line 51: Line 51:  
  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
{{Note box|Need the find out the correct way to start the service for 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 and has to be restarted manually.}}
+
 
 +
 
 +
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.
 +
 
 +
In /etc/rc.d/init.d/zoneminder where is says:
 +
start()
 +
{
 +
(rest of the code)
 +
make it:
 +
start()
 +
{
 +
sleep 10
 +
(rest of the code)
 +
 
 +
 
 
{{Note box|We still need to add the various TCPPort(s) to the db to open up the firewall if remote (off LAN) camera's are being used.}}
 
{{Note box|We still need to add the various TCPPort(s) to the db to open up the firewall if remote (off LAN) camera's are being used.}}
  

Navigation menu