[ 
https://issues.apache.org/jira/browse/OFBIZ-5693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077668#comment-14077668
 ] 

Julien NICOLAS commented on OFBIZ-5693:
---------------------------------------

Hi Jacques,

Yes, it's the opposite, the first line is !bin/sh
With this the script generate error on Debian Wheezy.

I'll do a patch for this.

Julien.

> modification on daemon script for debian
> ----------------------------------------
>
>                 Key: OFBIZ-5693
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5693
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>         Environment: GNU/Linux Debian 7 Wheezy
>            Reporter: Julien NICOLAS
>            Priority: Trivial
>              Labels: debian, script, setup
>
> The file rc.ofbiz.for.debian generate some error because of the bash type 
> contained in the first line.
> !/bin/bash instead of !/bin/sh
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to