laravel-folder-init-and-clean-cache-should-run-in-docker-root-folder.sh 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. #!#/bin/bash
  2. mkdir -p public_html/storage/cms/cache/
  3. mkdir -p public_html/storage/cms/twig/
  4. mkdir -p public_html/storage/cms/combiner/
  5. mkdir -p public_html/storage/framework/cache/
  6. mkdir -p public_html/storage/framework/sessions/
  7. mkdir -p public_html/storage/framework/views/
  8. mkdir -p public_html/storage/logs/
  9. rm -rf public_html/storage/cms/cache/*
  10. rm -rf public_html/storage/cms/twig/*
  11. rm -rf public_html/storage/cms/combiner/*
  12. rm -rf public_html/storage/framework/cache/*
  13. rm -rf public_html/storage/framework/sessions/*
  14. rm -rf public_html/storage/framework/views/*
  15. rm -rf public_html/storage/logs/*
  16. STR=`pwd`
  17. SUB='/home/'
  18. if [[ "$STR" == *"$SUB"* ]]; then
  19. user=${STR/$SUB/}
  20. chown -R $user:apache public_html/*
  21. fi
  22. 1: dbupdate-season2204.dabory.com
  23. 2: cp.dbupdate-season2204.dabory.com
  24. 3: mail.dbupdate-season2204.dabory.com
  25. 4: stats.dbupdate-season2204.dabory.com
  26. 5: webmail.dbupdate-season2204.dabory.com
  27. 6: www.dbupdate-season2204.dabory.com
  28. 7: dangnn.daboryhost.com
  29. 8: cp.dangnn.daboryhost.com
  30. 9: mail.dangnn.daboryhost.com
  31. 10: stats.dangnn.daboryhost.com
  32. 11: webmail.dangnn.daboryhost.com
  33. 12: www.dangnn.daboryhost.com
  34. 13: genesisfin.daboryhost.com
  35. 14: cp.genesisfin.daboryhost.com
  36. 15: mail.genesisfin.daboryhost.com
  37. 16: stats.genesisfin.daboryhost.com
  38. 17: webmail.genesisfin.daboryhost.com
  39. 18: www.genesisfin.daboryhost.com
  40. 19: modunawa.daboryhost.com
  41. 20: cp.modunawa.daboryhost.com
  42. 21: mail.modunawa.daboryhost.com
  43. 22: stats.modunawa.daboryhost.com
  44. 23: webmail.modunawa.daboryhost.com
  45. 24: www.modunawa.daboryhost.com
  46. 25: msqxp.daboryhost.com
  47. 26: cp.msqxp.daboryhost.com
  48. 27: mail.msqxp.daboryhost.com
  49. 28: stats.msqxp.daboryhost.com
  50. 29: webmail.msqxp.daboryhost.com
  51. 30: www.msqxp.daboryhost.com
  52. 31: nawame.daboryhost.com
  53. 32: cp.nawame.daboryhost.com
  54. 33: mail.nawame.daboryhost.com
  55. 34: stats.nawame.daboryhost.com
  56. 35: webmail.nawame.daboryhost.com
  57. 36: www.nawame.daboryhost.com
  58. 37: newerp.daboryhost.com
  59. 38: cp.newerp.daboryhost.com
  60. 39: mail.newerp.daboryhost.com
  61. 40: stats.newerp.daboryhost.com
  62. 41: webmail.newerp.daboryhost.com
  63. 42: www.newerp.daboryhost.com
  64. 43: p2popen.daboryhost.com
  65. 44: cp.p2popen.daboryhost.com
  66. 45: mail.p2popen.daboryhost.com
  67. 46: stats.p2popen.daboryhost.com
  68. 47: webmail.p2popen.daboryhost.com
  69. 48: www.p2popen.daboryhost.com
  70. 49: promodel.daboryhost.com
  71. 50: cp.promodel.daboryhost.com
  72. 51: mail.promodel.daboryhost.com
  73. 52: stats.promodel.daboryhost.com
  74. 53: webmail.promodel.daboryhost.com
  75. 54: www.promodel.daboryhost.com
  76. 55: safebanner.daboryhost.com
  77. 56: cp.safebanner.daboryhost.com
  78. 57: mail.safebanner.daboryhost.com
  79. 58: stats.safebanner.daboryhost.com
  80. 59: webmail.safebanner.daboryhost.com
  81. 60: www.safebanner.daboryhost.com
  82. 61: scanner.daboryhost.com
  83. 62: cp.scanner.daboryhost.com
  84. 63: mail.scanner.daboryhost.com
  85. 64: stats.scanner.daboryhost.com
  86. 65: webmail.scanner.daboryhost.com
  87. 66: www.scanner.daboryhost.com
  88. 67: sso-old.daboryhost.com
  89. 68: cp.sso-old.daboryhost.com
  90. 69: mail.sso-old.daboryhost.com
  91. 70: stats.sso-old.daboryhost.com
  92. 71: webmail.sso-old.daboryhost.com
  93. 72: www.sso-old.daboryhost.com
  94. 73: ssohost.daboryhost.com
  95. 74: cp.ssohost.daboryhost.com
  96. 75: mail.ssohost.daboryhost.com
  97. 76: stats.ssohost.daboryhost.com
  98. 77: webmail.ssohost.daboryhost.com
  99. 78: www.ssohost.daboryhost.com
  100. 79: syncscan.daboryhost.com
  101. 80: cp.syncscan.daboryhost.com
  102. 81: mail.syncscan.daboryhost.com
  103. 82: stats.syncscan.daboryhost.com
  104. 83: webmail.syncscan.daboryhost.com
  105. 84: www.syncscan.daboryhost.com
  106. 85: textmsg.daboryhost.com
  107. 86: cp.textmsg.daboryhost.com
  108. 87: mail.textmsg.daboryhost.com
  109. 88: stats.textmsg.daboryhost.com
  110. 89: webmail.textmsg.daboryhost.com
  111. 90: www.textmsg.daboryhost.com
  112. 91: update-dbupdate.daboryhost.com
  113. 92: cp.update-dbupdate.daboryhost.com
  114. 93: mail.update-dbupdate.daboryhost.com
  115. 94: stats.update-dbupdate.daboryhost.com
  116. 95: webmail.update-dbupdate.daboryhost.com
  117. 96: www.update-dbupdate.daboryhost.com
  118. 97: weberp.daboryhost.com
  119. 98: cp.weberp.daboryhost.com
  120. 99: mail.weberp.daboryhost.com
  121. 100: stats.weberp.daboryhost.com
  122. 101: webmail.weberp.daboryhost.com
  123. 102: www.weberp.daboryhost.com
  124. 103: wget-dev.daboryhost.com
  125. 104: cp.wget-dev.daboryhost.com
  126. 105: mail.wget-dev.daboryhost.com
  127. 106: stats.wget-dev.daboryhost.com
  128. 107: webmail.wget-dev.daboryhost.com
  129. 108: www.wget-dev.daboryhost.com
  130. 109: p2u.kr
  131. 110: cp.p2u.kr
  132. 111: mail.p2u.kr
  133. 112: stats.p2u.kr
  134. 113: webmail.p2u.kr
  135. 114: www.p2u.kr