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 @ 231:e7c5198d2991

[sync] imported aa68919..e042371 from upstream commit e042371101537d75d7751a7009624a34c11713e6 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 14:20:28 2020 +0200 app-crypto/acmetool: added 0.2.1 (supports ACME v2) commit a268a6c732e7ad6a5336d857c600da79559f0201 Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 13:10:03 2020 +0200 app-crypt/acmetool: unsymlinked 0.0.58 commit aae9c08eddcc5fe7e3a72722761cea40ed0bbe0c Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 13:07:36 2020 +0200 app-crypt/acmetool: fixed 0.0.58 to work with EAPI 7 and renamed GitHub locations commit 11b50f66971c911fc1f022ee56ca0b494e6ef0cf Author: Daniel Neugebauer <dneuge@energiequant.de> Date: Mon Jun 1 12:02:22 2020 +0200 app-crypt/acmetool: copy from https://github.com/jmesmon/overlay/ before it was removed on May 26, 2017
author Migration Sync <gentoo-overlay@megacoffee.net>
date Mon, 01 Jun 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