Explorar el Código

Update fusionpbx.sh

FusionPBX hace 6 años
padre
commit
4bf8d12b8e
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      centos/resources/fusionpbx.sh

+ 4 - 0
centos/resources/fusionpbx.sh

@@ -31,6 +31,10 @@ else
 	BRANCH="-b $FUSION_VERSION"
 	BRANCH="-b $FUSION_VERSION"
 fi
 fi
 
 
+#add the cache directory
+mkdir -p /var/cache/fusionpbx
+chown -R freeswitch:daemon /var/cache/fusionpbx
+
 #get the source code
 #get the source code
 git clone $BRANCH https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx
 git clone $BRANCH https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx