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 @ 234:c56b9e2d29d6
[sync] imported 95f1c05..e892980 from upstream
commit e892980d2d4e17873e3341bc1c9f027da355d0a6
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Sat Aug 8 14:26:11 2020 +0200
media-libs/blackmagic-desktop-video-sdk: version bump to 11.6
author | Migration Sync <gentoo-overlay@megacoffee.net> |
---|---|
date | Sat, 08 Aug 2020 12:30:01 +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