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
Next revisionBoth sides next revision
servers:nginx:friendica [2019/06/29 00:18] – [Service] Sean Rhoneservers:nginx:friendica [2019/06/29 00:51] Sean Rhone
Line 158: Line 158:
  
   * Every 5 minutes   * Every 5 minutes
 +  * :!: Refer to [[distros:fedora_server#selinux|SELinux notes]] to generate a profile for this
  
   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
Line 177: Line 178:
  
 ==== Service ==== ==== Service ====
 +
 +  * :!: Refer to [[distros:fedora_server#selinux|SELinux notes]] to generate a profile for this ((the composer step will likely be denied))
  
   sudo -e '/etc/systemd/system/social-up.service'   sudo -e '/etc/systemd/system/social-up.service'
Line 189: Line 192:
 ExecStart='/usr/bin/git' -C '/var/www/social' pull origin 'master' ExecStart='/usr/bin/git' -C '/var/www/social' pull origin 'master'
 ExecStart='/usr/bin/git' -C '/var/www/social/addon' pull origin 'master' ExecStart='/usr/bin/git' -C '/var/www/social/addon' pull origin 'master'
-ExecStart='/var/www/social/bin/composer.phar' install+ExecStart='/var/www/social/bin/composer.phar' install --no-dev
 ExecStartPost='/usr/bin/sync'</code> ExecStartPost='/usr/bin/sync'</code>
  
/var/www/wiki/data/pages/servers/nginx/friendica.txt · Last modified: 2024/02/01 08:29 by Sean Rhone