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
Next revision
Previous revision
servers:linux:nginx:wordpress [2025/12/21 00:35] Sean Rhoneservers:linux:nginx:wordpress [2025/12/21 00:43] (current) – [Git Fix] Sean Rhone
Line 173: Line 173:
 <code> <code>
 #!/bin/bash #!/bin/bash
 +
 +'/usr/bin/rm' -Rf '/tmp/blog'
 +'/usr/bin/mkdir' -p '/tmp/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 190: Line 194:
 '/usr/bin/git' -C '/var/www/blog' gc --aggressive --prune='all' '/usr/bin/git' -C '/var/www/blog' gc --aggressive --prune='all'
 '/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/blog/uploads' '/var/www/blog/wp-content'
 +'/usr/bin/cp' -f '/tmp/blog/wp-config.php' '/var/www/blog/wp-config.php'
 +'/usr/bin/rm' -Rf '/tmp/blog'
  
 # End</code> # End</code>
/var/www/wiki/data/attic/servers/linux/nginx/wordpress.1766295341.txt.gz · 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