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 @ 232:3c0316b4ca58

[sync] imported e042371..53e3045 from upstream commit 53e304564507c6091d33d7a85546ea412de0f0bb Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sat Aug 8 13:04:55 2020 +0200 media-video/blackmagic-media-express: fixed DISTDIR in pkg_nofetch (#1) Closes #1 commit 096883ec6318aa821f6b2b96e31dbef0e7c2e2c9 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sat Aug 8 12:58:40 2020 +0200 media-libs/blackmagic-desktop-video-sdk: fixed DISTDIR in pkg_nofetch (#1) commit 220520d78dc156f2df59dc913aa3abbb164107e4 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sat Aug 8 12:56:57 2020 +0200 media-libs/blackmagic-desktop-video-sdk: removing long deprecated versions before 10.9 commit e82fd69f36d6eb7d1d329f678dda264e8b0770e3 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Sat Aug 8 12:48:33 2020 +0200 media-libs/blackmagic-desktop-video: fixed DISTDIR in pkg_nofetch (#1)
author Migration Sync <gentoo-overlay@megacoffee.net>
date Sat, 08 Aug 2020 11:15: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