~davewalker/etherpad/ubuntu-unlimited-max-users-and-revisions

« back to all changes in this revision

Viewing changes to bin/run.sh

  • Committer: James Page
  • Date: 2011-04-13 08:00:43 UTC
  • Revision ID: james.page@canonical.com-20110413080043-eee2nq7y1v7cv2mp
* Refactoring to use native Ubuntu Java libraries. 
* debian/control:
  - use openjdk instead of sun's java
  - update maintainer
* debian/etherpad.init.orig, debian/etherpad.upstart:
  - move the init script out of the way
  - create a basic upstart script
  - note that the open office document conversion daemon was dropped
    from the upstart configuration; if this behavior is desired, please
    create a separate upstart job for it
* debian/rules:
  - just use basic dh_installinit, as it will pick up the new upstart job
* New release
* Changed maintainer to Packaging
* Fixed installation scripts
* Initial Release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
 
 
3
################################################################################
 
4
#
 
5
# Copyright (c) 2010 penSec.IT UG (haftungsbeschränkt)
 
6
#        http://www.pensec.it
 
7
#        mail@pensec.it
 
8
# Copyright (c) 2010 Egil Möller <egil.moller@piratpartiet.se>
 
9
# Copyright (c) 2010 Mikko Rantalainen <mikko.rantalainen@peda.net>
 
10
 
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
 
13
# the License at
 
14
 
15
#        http://www.apache.org/licenses/LICENSE-2.0
 
16
#
 
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
 
21
# the License. 
 
22
#
 
23
################################################################################
 
24
 
 
25
ETHERPADDIR="$(cd "$(dirname "$0")/.."; pwd)"
 
26
source "$ETHERPADDIR/bin/exports.sh"
 
27
source "$ETHERPADDIR/bin/ooffice.sh"
 
28
cd "$ETHERPADDIR/etherpad"
 
29
 
 
30
# the argument here is the maximum amount of RAM to allocate
 
31
exec bin/run-local.sh --etherpad.soffice="$SOFFICE_BIN" "$@" 256M