User Tools

Site Tools


servers:linux:nginx:wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
servers:linux:nginx:wordpress [2025/12/21 00:38] Sean Rhoneservers:linux:nginx:wordpress [2025/12/21 00:43] (current) – [Git Fix] Sean Rhone
Line 174: Line 174:
 #!/bin/bash #!/bin/bash
  
-'/usr/bin/rm' -Rf '/tmp/www/blog' +'/usr/bin/rm' -Rf '/tmp/blog' 
-'/usr/bin/mkdir' -p '/tmp/www/blog' +'/usr/bin/mkdir' -p '/tmp/blog' 
-'/usr/bin/cp' -Rf '/var/www/blog/wp-content/uploads' '/var/www/blog/wp-config.php' '/tmp/www/blog'+'/usr/bin/cp' -Rf '/var/www/blog/wp-content/uploads' '/var/www/blog/wp-config.php' '/tmp/blog'
  
 '/usr/bin/rm' -Rf '/var/www/blog/.git' '/usr/bin/rm' -Rf '/var/www/blog/.git'
Line 195: Line 195:
 '/usr/bin/git' -C '/var/www/blog' fsck --full --strict '/usr/bin/git' -C '/var/www/blog' fsck --full --strict
  
-'/usr/bin/cp' -Rf '/tmp/www/blog/uploads' '/var/www/blog/wp-content' +'/usr/bin/cp' -Rf '/tmp/blog/uploads' '/var/www/blog/wp-content' 
-'/usr/bin/cp' -f '/tmp/www/blog/wp-config.php' '/var/www/blog/wp-config.php' +'/usr/bin/cp' -f '/tmp/blog/wp-config.php' '/var/www/blog/wp-config.php' 
-'/usr/bin/rm' -Rf '/tmp/www/blog'+'/usr/bin/rm' -Rf '/tmp/blog'
  
 # End</code> # End</code>
/var/www/wiki/data/pages/servers/linux/nginx/wordpress.txt · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki