discord-pocketbot/extras/supervisord_discord-pocketb...

17 lines
514 B
Plaintext

[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