isso-commenting-public/isso-start.sh

11 lines
483 B
Bash
Raw Normal View History

#!/bin/bash
# taken from <https://blog.phusion.nl/2018/08/16/isso-simple-self-hosted-commenting-system/>
set -e
cd /etc/isso
source /etc/isso/bin/activate
## export LANG=C.UTF-8
export ISSO_SETTINGS="/etc/isso/isso.cfg"
## exec gunicorn -n gunicorn-isso -b 127.0.0.1:1927 --preload -w 4 --log-file /var/log/isso/isso.log isso.dispatch 2>>/var/log/isso/isso.log
gunicorn -b localhost:8081 --preload -w 4 --log-file /etc/isso/isso.log isso.run 2>> /etc/isso/isso.log ## known to work