[jira] [Updated] (OFBIZ-5693) modification on daemon script for debian

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5693) modification on daemon script for debian

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien NICOLAS updated OFBIZ-5693:
----------------------------------

    Description:
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

  was:
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


> 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)