You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Peter Jamieson (JIRA)" <ji...@apache.org> on 2016/02/15 11:59:18 UTC

[jira] [Comment Edited] (DIRSERVER-2122) kill script not running on centos

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

Peter Jamieson edited comment on DIRSERVER-2122 at 2/15/16 10:58 AM:
---------------------------------------------------------------------

It depends on how the init script is intended to be used.

After installing, I had to create a manual softlink from /etc/init.d/apacheds-2.0.0_M21-default to apacheds (the service name)

Should this be the case or should the installer just create /etc/init.d/apacheds?

If the latter is true, the init.d script could just check $1 and create the /var/lock/subsys/apacheds file on start or restart and remove it on stop (otherwise, the init.d script would need to check the service name).


was (Author: peterjam28):
Hi,

Depends on how the init script is intended to be used.

After installing, I had to create a manual softlink from /etc/init.d/apacheds-2.0.0_M21-default to apacheds (the service name)

Should this be the case or should the installer just create /etc/init.d/apacheds?

If the latter is true, the init.d script could just check $1 and create the /var/lock/subsys/apacheds file on start or restart and remove it on stop (otherwise, the init.d script would need to check the service name).

Peter Jamieson
Consultant Software Engineer
Customer Experience Management Solutions
50 Park Road | Gatley, Cheshire, SK8 4HZ
O  +44 (0)161 495 1186
E  peter.jamieson@convergys.com
W www.ConvergysTechnologies.com





> kill script not running on centos
> ---------------------------------
>
>                 Key: DIRSERVER-2122
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2122
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: installer-plugin
>    Affects Versions: 2.0.0-M21
>         Environment: CentOS 6.7
>            Reporter: Peter Jamieson
>
> on CentOS 6.7, the K* script is not being run.
> This is leading to DIRSERVER-1843



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)