User Tools

Site Tools


servers:linux:nginx:dokuwiki

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:dokuwiki [2025/12/20 18:11] – [Backup] Sean Rhoneservers:linux:nginx:dokuwiki [2025/12/20 23:33] (current) – old revision restored (2025/12/20 19:44) Sean Rhone
Line 49: Line 49:
 pm.process_idle_timeout = "30" pm.process_idle_timeout = "30"
  
-General+Logging
 php_value[log_errors] = "0" php_value[log_errors] = "0"
 php_value[error_reporting] = "~E_ALL" php_value[error_reporting] = "~E_ALL"
 +
 +; General
 php_value[date.timezone] = "America/New_York" php_value[date.timezone] = "America/New_York"
  
Line 168: Line 170:
 ===== Git Fix ===== ===== Git Fix =====
  
-  * TODO+  * :!: Set email for ''user.email'' 
 + 
 +  sudo mkdir -p '/etc/nginx/scripts/wiki' && sudo -e '/etc/nginx/scripts/wiki/git-fix.sh' && sudo chmod '0500' '/etc/nginx/scripts/wiki/git-fix.sh' && sudo chown 'www-data':'www-data' '/etc/nginx/scripts/wiki/git-fix.sh' 
 + 
 +<code> 
 +#!/bin/bash 
 + 
 +'/usr/bin/rm' -Rf '/var/www/wiki/.git' 
 +'/usr/bin/git' -C '/var/www/wiki' init --initial-branch='master' 
 +'/usr/bin/git' -C '/var/www/wiki' add '.' 
 + 
 +######################################## 
 +'/usr/bin/git' -C '/var/www/wiki' config 'user.email' 'espionage724@x' 
 +######################################## 
 + 
 +'/usr/bin/git' -C '/var/www/wiki' commit --message='x' 
 + 
 +'/usr/bin/git' -C '/var/www/wiki' remote add 'origin' 'https://github.com/dokuwiki/dokuwiki.git' 
 +'/usr/bin/git' -C '/var/www/wiki' pull --depth '1' --recurse-submodules 'origin' 'master' --rebase 
 + 
 +'/usr/bin/git' -C '/var/www/wiki' reset --hard 'origin/master' 
 +'/usr/bin/git' -C '/var/www/wiki' gc --aggressive --prune='all' 
 +'/usr/bin/git' -C '/var/www/wiki' fsck --full --strict 
 + 
 +# End</code> 
 + 
 +  sudo -u 'www-data' '/etc/nginx/scripts/wiki/git-fix.sh'
  
 ====== Services ====== ====== Services ======
/var/www/wiki/data/attic/servers/linux/nginx/dokuwiki.1766272295.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