Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
727B

  1. ; Assumes pleroma is installed in /home/pleroma/pleroma and running as the pleroma user
  2. ; Also assumes mix is in /usr/bin, this might differ on BSDs or niche Linux distros
  3. ; Logs into /home/pleroma/logs
  4. [program:pleroma]
  5. command=/usr/bin/mix phx.server
  6. directory=/home/pleroma/pleroma
  7. autostart=true
  8. autorestart=true
  9. user=pleroma
  10. environment =
  11. MIX_ENV=prod,
  12. HOME=/home/pleroma,
  13. USER=pleroma,
  14. PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/pleroma/bin:%(ENV_PATH)s",
  15. PWD=/home/pleroma/pleroma
  16. stdout_logfile=/home/pleroma/logs/stdout.log
  17. stdout_logfile_maxbytes=50MB
  18. stdout_logfile_backups=10
  19. stderr_logfile=/home/pleroma/logs/stderr.log
  20. stderr_logfile_maxbytes=50MB
  21. stderr_logfile_backups=10