debian: replace references to passerelle
This commit is contained in:
parent
740714b28b
commit
c4acaa11fe
|
@ -1,5 +1,5 @@
|
|||
Passerelle server for Debian
|
||||
============================
|
||||
Zoo server for Debian
|
||||
=====================
|
||||
|
||||
Create a tenant
|
||||
---------------
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# This file is sourced by "execfile" from passerelle.settings
|
||||
# This file is sourced by "execfile" from zoo.settings
|
||||
|
||||
# Debian defaults
|
||||
DEBUG = False
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
# Should-Stop: postgresql
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Passerelle server
|
||||
# Description: Passerelle provides an uniform access to multiple data sources and services.
|
||||
# Short-Description: Zoo server
|
||||
# Description: Zoo maintains a graph of objects
|
||||
### END INIT INFO
|
||||
|
||||
# Author: Jérôme Schneider <jschneider@entrouvert.com>
|
||||
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC=Passerelle
|
||||
DESC=Zoo
|
||||
NAME=zoo
|
||||
DAEMON=/usr/bin/gunicorn
|
||||
RUN_DIR=/run/$NAME
|
||||
|
@ -25,7 +25,7 @@ BIND=unix:$RUN_DIR/$NAME.sock
|
|||
WORKERS=5
|
||||
TIMEOUT=30
|
||||
|
||||
PASSERELLE_SETTINGS_FILE=/usr/lib/$NAME/debian_config.py
|
||||
ZOO_SETTINGS_FILE=/usr/lib/$NAME/debian_config.py
|
||||
MANAGE_SCRIPT="/usr/bin/$NAME-manage"
|
||||
|
||||
USER=$NAME
|
||||
|
@ -62,7 +62,7 @@ if [ ! -d $RUN_DIR ]; then
|
|||
fi
|
||||
|
||||
# environment for wsgi
|
||||
export PASSERELLE_SETTINGS_FILE
|
||||
export ZOO_SETTINGS_FILE
|
||||
|
||||
#
|
||||
# Function that starts the daemon/service
|
||||
|
|
|
@ -15,7 +15,7 @@ case "$1" in
|
|||
if ! getent passwd $USER >/dev/null; then
|
||||
adduser --disabled-password --quiet --system \
|
||||
--no-create-home --home /var/lib/$NAME \
|
||||
--gecos "Passerelle user" --group $USER
|
||||
--gecos "Zoo user" --group $USER
|
||||
fi
|
||||
# ensure dirs ownership
|
||||
chown $USER:$GROUP /var/log/$NAME
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Configuration for zoo.
|
||||
# You can override Passerelle default settings here
|
||||
# You can override Zoo default settings here
|
||||
|
||||
# Passerelle is a Django application: for the full list of settings and their
|
||||
# Zoo is a Django application: for the full list of settings and their
|
||||
# values, see https://docs.djangoproject.com/en/1.7/ref/settings/
|
||||
# For more information on settings see
|
||||
# https://docs.djangoproject.com/en/1.7/topics/settings/
|
||||
|
|
|
@ -4,7 +4,7 @@ NAME=zoo
|
|||
MANAGE="/usr/lib/zoo/manage.py"
|
||||
|
||||
# load Debian default configuration
|
||||
export PASSERELLE_SETTINGS_FILE=/usr/lib/$NAME/debian_config.py
|
||||
export ZOO_SETTINGS_FILE=/usr/lib/$NAME/debian_config.py
|
||||
|
||||
# check user
|
||||
if test x$1 = x"--forceuser"
|
||||
|
|
Loading…
Reference in New Issue