This commit is contained in:
John McLear 2013-11-24 12:41:12 +00:00
parent 678c80d1dc
commit d6f1aa3236
27 changed files with 1622 additions and 4 deletions

View file

@ -2,5 +2,6 @@
# Start the services!
service etherpad start
echo "Give Etherpad about 3 minutes to install dependencies and start"
echo "Give Etherpad about 3 minutes to install dependencies then visit http://localhost:9001 in your web browser"
echo "To stop etherpad type 'service etherpad stop', To restart type 'service etherpad restart'".
rm -f /tmp/etherpad.log /tmp/etherpad.err

View file

@ -20,7 +20,9 @@ end script
script
cd $EPHOME/
exec su -s /bin/sh -c 'exec "$0" "$@"' $EPUSER -- node node_modules/ep_etherpad/node/server.js \
exec su -s /bin/sh -c 'exec "$0" "$@"' $EPUSER -- node node_modules/ep_etherpad-lite/node/server.js \
>> $EPLOGS/access.log \
2>> $EPLOGS/error.log
echo "Etherpad is running on http://localhost:9001 - To change settings edit /opt/etherpad/settings.json"
end script