# HG changeset patch # User Mads Kiilerich # Date 1597325409 -7200 # Node ID 71bdbf12919061332b7753d8973da73ff1399bb3 # Parent 7a7273f08cfb4a8d1e9f1fe7acbe43cf625ced32 py3: drop PYTHON_EGG_CACHE and .egg-cache - that was a py2 thing diff -r 7a7273f08cfb -r 71bdbf129190 docs/setup.rst --- a/docs/setup.rst Sat Aug 01 22:17:54 2020 +0200 +++ b/docs/setup.rst Thu Aug 13 15:30:09 2020 +0200 @@ -609,7 +609,6 @@ .. code-block:: python import os - os.environ['PYTHON_EGG_CACHE'] = '/srv/kallithea/.egg-cache' # sometimes it's needed to set the current dir os.chdir('/srv/kallithea/') diff -r 7a7273f08cfb -r 71bdbf129190 init.d/kallithea-daemon-debian --- a/init.d/kallithea-daemon-debian Sat Aug 01 22:17:54 2020 +0200 +++ b/init.d/kallithea-daemon-debian Thu Aug 13 15:30:09 2020 +0200 @@ -37,7 +37,7 @@ start() { echo "Starting $APP_NAME" - PYTHON_EGG_CACHE="/tmp" start-stop-daemon -d $APP_PATH \ + start-stop-daemon -d $APP_PATH \ --start --quiet \ --pidfile $PID_PATH \ --user $RUN_AS \ diff -r 7a7273f08cfb -r 71bdbf129190 init.d/kallithea-daemon-gentoo --- a/init.d/kallithea-daemon-gentoo Sat Aug 01 22:17:54 2020 +0200 +++ b/init.d/kallithea-daemon-gentoo Thu Aug 13 15:30:09 2020 +0200 @@ -33,7 +33,7 @@ start() { ebegin "Starting $APP_NAME" - start-stop-daemon -d $APP_PATH -e PYTHON_EGG_CACHE="/tmp" \ + start-stop-daemon -d $APP_PATH \ --start --quiet \ --pidfile $PID_PATH \ --user $RUN_AS \ diff -r 7a7273f08cfb -r 71bdbf129190 init.d/kallithea-daemon-redhat --- a/init.d/kallithea-daemon-redhat Sat Aug 01 22:17:54 2020 +0200 +++ b/init.d/kallithea-daemon-redhat Thu Aug 13 15:30:09 2020 +0200 @@ -63,7 +63,7 @@ start_kallithea () { ensure_pid_dir - PYTHON_EGG_CACHE="/tmp" daemon --pidfile $PID_PATH \ + daemon --pidfile $PID_PATH \ --user $RUN_AS "$DAEMON $DAEMON_OPTS" RETVAL=$? [ $RETVAL -eq 0 ] && touch $LOCK_FILE