mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-23 17:54:22 +00:00
c0e6f30e4d
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/48 Co-authored-by: norm <normandy@biribiri.dev> Co-committed-by: norm <normandy@biribiri.dev>
21 lines
711 B
Plaintext
21 lines
711 B
Plaintext
; Assumes akkoma is installed in /home/akkoma/akkoma and running as the akkoma user
|
|
; Also assumes mix is in /usr/bin, this might differ on BSDs or niche Linux distros
|
|
; Logs into /home/akkoma/logs
|
|
[program:akkoma]
|
|
command=/usr/bin/mix phx.server
|
|
directory=/home/akkoma/akkoma
|
|
autostart=true
|
|
autorestart=true
|
|
user=akkoma
|
|
environment =
|
|
MIX_ENV=prod,
|
|
HOME=/home/akkoma,
|
|
USER=akkoma,
|
|
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/akkoma/bin:%(ENV_PATH)s",
|
|
PWD=/home/akkoma/akkoma
|
|
stdout_logfile=/home/akkoma/logs/stdout.log
|
|
stdout_logfile_maxbytes=50MB
|
|
stdout_logfile_backups=10
|
|
stderr_logfile=/home/akkoma/logs/stderr.log
|
|
stderr_logfile_maxbytes=50MB
|
|
stderr_logfile_backups=10 |