aboutsummaryrefslogtreecommitdiff
path: root/installation
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@gmail.com>2019-04-17 16:58:08 +0700
committerRoman Chvanikov <chvanikoff@gmail.com>2019-04-17 16:58:08 +0700
commit87013f843853250e8b15696900e09afb92d22aac (patch)
tree72491ebe110dbd191485a5f7aa1b80e6359e848b /installation
parentdc21181f6504b55afa68de63f170fcb0f1084a6b (diff)
parent8de17c480e4267a46ae8d862a3c8918aa6734c39 (diff)
downloadpleroma-87013f843853250e8b15696900e09afb92d22aac.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/digest-email
Diffstat (limited to 'installation')
-rw-r--r--installation/pleroma.supervisord21
1 files changed, 21 insertions, 0 deletions
diff --git a/installation/pleroma.supervisord b/installation/pleroma.supervisord
new file mode 100644
index 000000000..19efffd6e
--- /dev/null
+++ b/installation/pleroma.supervisord
@@ -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 \ No newline at end of file