Added supervisord config for testing

dev
pocketjawa 2017-03-19 02:19:42 -04:00
parent 8816876e54
commit 95a669462f
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
[program:discord-pocketbot-test]
directory=/srv/discord-pocketbot
command=/usr/bin/python3.4 /srv/discord-pocketbot/test.py
autostart=false
autorestart=true
startsecs=10
stdout_logfile=/var/log/discord-pocketbot/test/stdout.log
stdout_logfile_maxbytes=1MB
stdout_logfile_backups=10
stdout_capture_maxbytes=1MB
stderr_logfile=/var/log/discord-pocketbot/test/stderr.log
stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10
stderr_capture_maxbytes=1MB
environment = HOME="/home/pocketjawa", USER="pocketjawa"
user = pocketjawa