megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
view dev-vcs/kallithea/files/start-virtualenv.sh @ 230:8d97d03c9bc1
[sync] imported 60c6dd2..aa68919 from upstream
commit aa6891982ff4a085c0a76df3fc820108ac139c0b
Author: layman <layman@localhost>
Date: Sun May 17 13:52:53 2020 +0200
media-gfx/trimage: bump to 1.0.6, Python 3 and Qt 5 compatible
commit 3f8f7faae955f4c1b22c419bc2dffb69d7823cec
Author: layman <layman@localhost>
Date: Sun May 17 13:23:48 2020 +0200
dev-vcs/kallithea: masking before removal due to security issues
author | Migration Sync <gentoo-overlay@megacoffee.net> |
---|---|
date | Sun, 17 May 2020 12:00:02 +0000 |
parents | af030a9d6541 |
children |
line wrap: on
line source
#!/bin/bash # don't allow to host web applications as root if [ $EUID -eq 0 ]; then echo "Denying attempt to run Kallithea as root." >&2 exit 1 fi # get full + virtual environment source /etc/profile source /opt/kallithea/bin/activate # start Kallithea cd /var/lib/kallithea paster serve --pid-file=/run/kallithea.pid \ --log-file=/var/log/kallithea/kallithea.log \ --daemon \ /etc/kallithea/production.ini