From 408af3f6bc558c896ae15426241f91135aa4d88c Mon Sep 17 00:00:00 2001 From: pocketjawa Date: Wed, 1 Mar 2017 19:36:51 -0500 Subject: [PATCH] Added supervisord config --- extras/supervisord_discord-pocketbot.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 extras/supervisord_discord-pocketbot.conf diff --git a/extras/supervisord_discord-pocketbot.conf b/extras/supervisord_discord-pocketbot.conf new file mode 100644 index 0000000..727b2ce --- /dev/null +++ b/extras/supervisord_discord-pocketbot.conf @@ -0,0 +1,16 @@ +[program:discord-pocketbot] +directory=/srv/discord-pocketbot +command=/usr/bin/python3.4 /srv/discord-pocketbot/pocketbot.py +autostart=true +autorestart=true +startsecs=10 +stdout_logfile=/var/log/discord-pocketbot/stdout.log +stdout_logfile_maxbytes=1MB +stdout_logfile_backups=10 +stdout_capture_maxbytes=1MB +stderr_logfile=/var/log/discord-pocketbot/stderr.log +stderr_logfile_maxbytes=1MB +stderr_logfile_backups=10 +stderr_capture_maxbytes=1MB +environment = HOME="/home/pocketjawa", USER="pocketjawa" +user = pocketjawa