Explorar el Código

Uncomment service freeswitch restart

FusionPBX hace 4 años
padre
commit
ff1ad43d0f
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      freebsd/resources/finish.sh

+ 4 - 2
freebsd/resources/finish.sh

@@ -103,6 +103,7 @@ if [ .$nginx_enabled = .'true' ]; then
 
 	#reset the current working directory
 	cd $cwd
+
 fi
 
 if [ .$switch_enabled = .'true' ]; then
@@ -126,13 +127,14 @@ if [ .$switch_enabled = .'true' ]; then
 	sed -i' ' -e s:"{v_user}:$xml_cdr_username:" $conf_dir/autoload_configs/xml_cdr.conf.xml
 	sed -i' ' -e s:"{v_pass}:$xml_cdr_password:" $conf_dir/autoload_configs/xml_cdr.conf.xml
 
-	#stop freeswitch
-	#service freeswitch restart
+	#restart freeswitch
+	service freeswitch restart
 
 	#install monit.sh
 	if [ .$monit_enabled = .'true' ]; then
 		. ./monit.sh
 	fi
+
 fi
 
 #welcome message