diff --git a/installation/akkoma.supervisord b/installation/akkoma.supervisord new file mode 100644 index 000000000..8fd5e8d42 --- /dev/null +++ b/installation/akkoma.supervisord @@ -0,0 +1,21 @@ +; 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 \ No newline at end of file diff --git a/installation/pleroma.supervisord b/installation/pleroma.supervisord deleted file mode 100644 index 19efffd6e..000000000 --- a/installation/pleroma.supervisord +++ /dev/null @@ -1,21 +0,0 @@ -; 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 \ No newline at end of file