pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit 43ab59e15817d6fb6c2e72e6106fdf6a8d8326fb
parent 30c8a3e0246fe2136682fcb9aa038ad383e800f1
Author: pyratebeard <root@pyratebeard.net>
Date:   Wed, 13 Jan 2021 21:22:22 +0000

supervisor config

run a python http.server and the pandoc script

Diffstat:
Asupervisord.conf | 26++++++++++++++++++++++++++
1 file changed, 26 insertions(+), 0 deletions(-)

diff --git a/supervisord.conf b/supervisord.conf @@ -0,0 +1,26 @@ +[supervisord] +user=root +nodaemon=true +logfile=/tmp/supervisord.log +childlogdir=/tmp +pidfile = /tmp/supervisord.pid + +[program:python-http] +command=python3 -m http.server --directory /blog +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stdout +stderr_logfile_maxbytes=0 +autostart=true +autorestart=true +startretries=0 + +[program:pyratelog] +command=sh /pyratelog.sh +stdout_logfile=/blog/pyrate.log +stdout_logfile_maxbytes=100 +stderr_logfile=/blog/pyrate.err +stderr_logfile_maxbytes=100 +autostart=true +autorestart=true +startretries=0