You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/07/29 16:04:50 UTC

svn commit: r1614356 - in /ofbiz/branches/release13.07: ./ tools/rc.ofbiz.for.debian

Author: jleroux
Date: Tue Jul 29 14:04:50 2014
New Revision: 1614356

URL: http://svn.apache.org/r1614356
Log:
"Applied fix from trunk for revision: 1614355" 
------------------------------------------------------------------------
r1614355 | jleroux | 2014-07-29 16:03:38 +0200 (mar. 29 juil. 2014) | 16 lignes

A patch from Julien Nicolas for "modification on daemon script for debian" https://issues.apache.org/jira/browse/OFBIZ-5693

The file rc.ofbiz.for.debian generate some error because of the bash type contained in the first line.
!/bin/sh should be !/bin/bash 

To add it in the startup process, it must contained a specific header :

### BEGIN INIT INFO
# Provides:          Apache-OFBiz ERP software
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Apache-OFBiz
# Description:       Apache-OFBiz ERP Software
### END INIT INFO
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release13.07/   (props changed)
    ofbiz/branches/release13.07/tools/rc.ofbiz.for.debian

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1614355

Modified: ofbiz/branches/release13.07/tools/rc.ofbiz.for.debian
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/tools/rc.ofbiz.for.debian?rev=1614356&r1=1614355&r2=1614356&view=diff
==============================================================================
--- ofbiz/branches/release13.07/tools/rc.ofbiz.for.debian (original)
+++ ofbiz/branches/release13.07/tools/rc.ofbiz.for.debian Tue Jul 29 14:04:50 2014
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #####################################################################
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
@@ -23,6 +23,15 @@
 #
 # chkconfig: - 80 10
 # description: OFBiz server
+### BEGIN INIT INFO
+# Provides:          OFBiz ERP software
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Apache-OFBiz
+# Description:       OFBiz ERP Software
+### END INIT INFO
 
 # Paths - Edit for your locations
 JAVA_BINARY=/usr/java/j2sdk1.4.2/bin/java