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
servers:nginx:friendica [2023/09/12 20:02] – [PHP Dependencies] Sean Rhoneservers:nginx:friendica [2024/02/01 08:29] (current) Sean Rhone
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 261: Line 253:
 ==== Timer ==== ==== Timer ====
  
-  * Every day at ''02:00:00''+  * Every day at ''03:00:00''
  
   sudo -e '/etc/systemd/system/social-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-up.timer' --now && sudo systemctl start 'social-up' && sudo systemctl status 'social-up' -l   sudo -e '/etc/systemd/system/social-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-up.timer' --now && sudo systemctl start 'social-up' && sudo systemctl status 'social-up' -l
Line 272: Line 264:
  
 [Timer] [Timer]
-OnCalendar=*-*-* 02:00:00+OnCalendar=*-*-* 03:00:00
 Persistent=true Persistent=true
  
Line 297: Line 289:
 ==== Timer ==== ==== Timer ====
  
-  * ''01'' day of every month at ''02:20:00''+  * ''01'' day of every month at ''03: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>
Line 308: Line 300:
  
 [Timer] [Timer]
-OnCalendar=*-*-01 02:20:00+OnCalendar=*-*-01 03:20:00
 Persistent=true Persistent=true
  
Line 331: Line 323:
 === Timer === === Timer ===
  
-  * ''01'' day of every month at ''02:50:00''+  * ''01'' day of every month at ''03:35:00''
  
   sudo -e '/etc/systemd/system/social-fb.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-fb.timer' --now && sudo systemctl start 'social-fb' && sudo systemctl status 'social-fb' -l   sudo -e '/etc/systemd/system/social-fb.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-fb.timer' --now && sudo systemctl start 'social-fb' && sudo systemctl status 'social-fb' -l
Line 340: Line 332:
  
 [Timer] [Timer]
-OnCalendar=*-*-01 02:50:00+OnCalendar=*-*-01 03:35:00
 Persistent=true Persistent=true
  
Line 372: Line 364:
 === Timer === === Timer ===
  
-  * Every day at ''02:15:00''+  * Every day at ''03:45:00''
  
   sudo -e '/etc/systemd/system/social-db.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-db.timer' --now && sudo systemctl start 'social-db' && sudo systemctl status 'social-db' -l   sudo -e '/etc/systemd/system/social-db.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'social-db.timer' --now && sudo systemctl start 'social-db' && sudo systemctl status 'social-db' -l
Line 382: Line 374:
  
 [Timer] [Timer]
-OnCalendar=*-*-* 02:15:00+OnCalendar=*-*-* 03:45:00
 Persistent=true Persistent=true
  
/var/www/wiki/data/attic/servers/nginx/friendica.1694563364.txt.gz · Last modified: 2023/09/12 20:02 by Sean Rhone