From 95a669462fbacfdbf64e839684273ef3ef8ecf18 Mon Sep 17 00:00:00 2001 From: pocketjawa Date: Sun, 19 Mar 2017 02:19:42 -0400 Subject: [PATCH] Added supervisord config for testing --- extras/supervisord_discord-pocketbot-test.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 extras/supervisord_discord-pocketbot-test.conf diff --git a/extras/supervisord_discord-pocketbot-test.conf b/extras/supervisord_discord-pocketbot-test.conf new file mode 100644 index 0000000..a4cb478 --- /dev/null +++ b/extras/supervisord_discord-pocketbot-test.conf @@ -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