浏览代码

Update fusionpbx.sh

FusionPBX 6 年之前
父节点
当前提交
4bf8d12b8e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      centos/resources/fusionpbx.sh

+ 4 - 0
centos/resources/fusionpbx.sh

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