User Tools

Site Tools


servers:nginx:friendica

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
Last revisionBoth sides next revision
servers:nginx:friendica [2023/09/12 20:02] – [Dependencies] Sean Rhoneservers:nginx:friendica [2023/09/12 20:09] Sean Rhone
Line 30: Line 30:
   sudo su 'nginx' -s '/bin/bash'   sudo su 'nginx' -s '/bin/bash'
  
-  cd '/var/www/social' && COMPOSER_CACHE_DIR='/dev/null' '/var/www/social/bin/composer.phar' install && sync+  cd '/var/www/social' && COMPOSER_CACHE_DIR='/dev/null' php '/var/www/social/bin/composer.phar' install && sync
  
 ====== Database ====== ====== Database ======
Line 218: Line 218:
   * Every 5 minutes   * Every 5 minutes
  
-  sudo -e '/etc/systemd/system/social-d.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-d.timer' --now+  sudo -e '/etc/systemd/system/social-d.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-d.timer' --now && sudo systemctl start 'social-d' && sudo systemctl status 'social-d' -l
  
 <code> <code>
Line 232: Line 232:
 [Install] [Install]
 WantedBy=timers.target</code> WantedBy=timers.target</code>
- 
-==== SELinux Test ==== 
- 
-**** 
- 
-  sudo semanage fcontext --add --type 'bin_t' '/var/www/social/bin/worker.php' 
- 
-  sudo semanage fcontext --add --type 'bin_t' '/var/www/social/bin/composer.phar' 
  
 ===== Updater ===== ===== Updater =====
Line 299: Line 291:
   * ''01'' day of every month at ''02:20:00''   * ''01'' day of every month at ''02:20:00''
  
-  sudo -e '/etc/systemd/system/social-m.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-m.timer' --now+  sudo -e '/etc/systemd/system/social-m.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-m.timer' --now && sudo systemctl start 'social-m' && sudo systemctl status 'social-up' -l
  
 <code> <code>
/var/www/wiki/data/pages/servers/nginx/friendica.txt · Last modified: 2024/02/01 08:29 by Sean Rhone