Browse Source

Update fusionpbx.sh

FusionPBX 6 years ago
parent
commit
4bf8d12b8e
1 changed files with 4 additions and 0 deletions
  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