Page 1 of 1

Starting ZM inside a FreeBSD jail fails - workaround provide

Posted: Thu Mar 21, 2013 3:19 pm
by hjf
There's a problem with the zmpkg.pl script under FreeBSD. When auto-started inside a Jail, FreeBSD doesn't use the "start" argument, but it uses "quietstart" (and quietstop, etc). So ZM doesn't automatically start (the web interface loads but it shows as "Stopped").

As a workaround, I added the following at line 54 in zmpkg.pl:

Code: Select all

if ($command =~ /^quiet(.*)/) {$command=$1;}
right before

Code: Select all

if ( !$command || $command !~ /^(?:start|stop|restart|status|logrot|faststart|faststop)$/ )
Cheers,
HernĂ¡n