You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Julien NICOLAS (JIRA)" <ji...@apache.org> on 2014/07/29 12:45:39 UTC
[jira] [Updated] (OFBIZ-5693) modification on daemon script for
debian
[ 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)