mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-09 10:19:19 +00:00
Add supervisord configuration
This commit is contained in:
parent
776f1e3bdf
commit
498c96d458
1 changed files with 21 additions and 0 deletions
21
installation/pleroma.supervisord
Normal file
21
installation/pleroma.supervisord
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
; Assumes pleroma is installed in /home/pleroma/pleroma and running as the pleroma user
|
||||||
|
; Also assumes mix is in /usr/bin, this might differ on BSDs or niche Linux distros
|
||||||
|
; Logs into /home/pleroma/logs
|
||||||
|
[program:pleroma]
|
||||||
|
command=/usr/bin/mix phx.server
|
||||||
|
directory=/home/pleroma/pleroma
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
user=pleroma
|
||||||
|
environment =
|
||||||
|
MIX_ENV=prod,
|
||||||
|
HOME=/home/pleroma,
|
||||||
|
USER=pleroma,
|
||||||
|
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/pleroma/bin:%(ENV_PATH)s",
|
||||||
|
PWD=/home/pleroma/pleroma
|
||||||
|
stdout_logfile=/home/pleroma/logs/stdout.log
|
||||||
|
stdout_logfile_maxbytes=50MB
|
||||||
|
stdout_logfile_backups=10
|
||||||
|
stderr_logfile=/home/pleroma/logs/stderr.log
|
||||||
|
stderr_logfile_maxbytes=50MB
|
||||||
|
stderr_logfile_backups=10
|
Loading…
Reference in a new issue