| Summary: | AdminServer should use "service" command instead of start/stop/restart scripts | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Rich Megginson <rmeggins> | ||||
| Component: | Admin | Assignee: | Rich Megginson <rmeggins> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 1.2.8 | CC: | amsharma | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-12-07 16:38:28 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 434915 | ||||||
| Attachments: |
|
||||||
|
Description
Rich Megginson
2011-07-01 16:50:41 UTC
Created attachment 510947 [details]
0001-Bug-718285-AdminServer-should-use-service-command-in.patch
To ssh://git.fedorahosted.org/git/389/admin.git
26efc6d..83551c4 master -> master
commit 83551c42e6f1465f2c3b9c385373c71f9aa0a3d0
Author: Rich Megginson <rmeggins>
Date: Fri Jul 1 13:01:08 2011 -0600
Reviewed by: nhosoi (Thanks!)
Branch: master
Fix Description: Added a new configure switch --enable-service - if this is
set, admin server will use the service command instead of the scripts. The
default value is "yes" if the build system has the service command. The
man pages for the scripts have been changed to discourage the user from
using them, in favor of the service command.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: yes - need to document that the service command should be used
instead of the stop/start/restart scripts
Under man pages --
==================
DESCRIPTION
start-ds-admin starts the Admin Server instance
NOTE: On systems that provide the service command or systemctl or other similar command, that command should be used instead of this
script. This script is only for those installations that do not support such mechanisms. e.g.
service dirsrv-admin start
Functionality
==============
[root@rheltest /]# service dirsrv-admin restart
Shutting down dirsrv-admin:
[ OK ]
Starting dirsrv-admin:
[ OK ]
[root@rheltest /]# service dirsrv-admin stop
Shutting down dirsrv-admin:
[ OK ]
[root@rheltest /]# service dirsrv-admin start
Starting dirsrv-admin:
[ OK ]
Hence VERIFIED.
|