3
################################################################################
5
# Copyright (c) 2010 penSec.IT UG (haftungsbeschränkt)
8
# Copyright (c) 2010 Egil Möller <egil.moller@piratpartiet.se>
9
# Copyright (c) 2010 Mikko Rantalainen <mikko.rantalainen@peda.net>
11
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
12
# use this file except in compliance with the License. You may obtain a copy of
15
# http://www.apache.org/licenses/LICENSE-2.0
17
# Unless required by applicable law or agreed to in writing, software
18
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
19
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
20
# License for the specific language governing permissions and limitations under
23
################################################################################
25
ETHERPADDIR="$(cd "$(dirname "$0")/.."; pwd)"
26
source "$ETHERPADDIR/bin/exports.sh"
27
source "$ETHERPADDIR/bin/ooffice.sh"
28
cd "$ETHERPADDIR/etherpad"
30
# the argument here is the maximum amount of RAM to allocate
31
exec bin/run-local.sh --etherpad.soffice="$SOFFICE_BIN" "$@" 256M