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 @ 172:2ee95703831d
media-video/blackmagic-media-express: no actual update to Media Express but we now want Desktop Video 10.7 as there's no sense in downloading the old one any more
author | Daniel Neugebauer <dneuge@energiequant.de> |
---|---|
date | Sun, 24 Jul 2016 17:19:59 +0200 |
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