orientdb: correct service behavior in dserver

This commit is contained in:
TJ Vanderpoel 2015-03-07 11:50:53 -06:00
parent 92806623ca
commit 584fed23e9
2 changed files with 8 additions and 5 deletions

View File

@ -1,9 +1,12 @@
diff -rupN orientdb-community-2.0.4.orig/bin/dserver.sh orientdb-community-2.0.4/bin/dserver.sh
--- orientdb-community-2.0.4.orig/bin/dserver.sh 2015-03-03 17:24:25.000000000 -0600
+++ orientdb-community-2.0.4/bin/dserver.sh 2015-03-06 19:21:41.272493588 -0600
@@ -1,4 +1,4 @@
diff -ru a/orientdb-community-2.0.4.orig/bin/dserver.sh ./bin/dserver.sh
--- a/orientdb-community-2.0.4.orig/bin/dserver.sh 2015-03-03 17:24:25.000000000 -0600
+++ ./bin/dserver.sh 2015-03-07 11:32:14.817541145 -0600
@@ -1,5 +1,5 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright (c) Orient Technologies LTD (http://www.orientechnologies.com)
#
-${0/%dserver.sh/server.sh} -Ddistributed=true $*
+exec ${0/%dserver.sh/server.sh} -Ddistributed=true $*
Only in .: that.patch

View File

@ -1,7 +1,7 @@
# Template file for 'orientdb'
pkgname=orientdb
version=2.0.4
revision=2
revision=3
only_for_archs="i686 x86_64"
conf_files="/etc/orientdb/hazelcast.xml"
wrksrc="${pkgname}-community-${version}"