Browse Source

chg: [rsted] use our github source code, with small fix.

postgres
Valentin Lab 11 years ago
parent
commit
f6eaad48d9
  1. 3
      precise/rsted/hooks/install

3
precise/rsted/hooks/install

@ -15,10 +15,11 @@ set -eux # -x for verbose logging to juju debug-log
mkdir -p /opt/apps mkdir -p /opt/apps
( (
cd /opt/apps && cd /opt/apps &&
git clone https://github.com/anru/rsted.git &&
git clone https://github.com/vaab/rsted &&
adduser --system --home=/home/"$RSTED_USER" --group "$RSTED_GROUP" && adduser --system --home=/home/"$RSTED_USER" --group "$RSTED_GROUP" &&
#chown "$RSTED_USER":"$RSTED_GROUP" /opt/apps/rsted -R && #chown "$RSTED_USER":"$RSTED_GROUP" /opt/apps/rsted -R &&
## -H is to force HOME environment variable to change to etherpad one. ## -H is to force HOME environment variable to change to etherpad one.
mkdir /var/run/rsted && chown "$RSTED_USER" /var/run/rsted &&
cd rsted && cd rsted &&
pip install -r pip-requirements.txt pip install -r pip-requirements.txt
) )

Loading…
Cancel
Save