[ https://issues.apache.org/jira/browse/OFBIZ-5693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077682#comment-14077682 ]
Julien NICOLAS commented on OFBIZ-5693: --------------------------------------- I clicked on the button patch thinking it was used to attach the file > 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 > Attachments: OFBIZ-5693_RCOfbizForDebian.patch > > > 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)