On those platforms that use service, AdminServer should use that to stop/start/restart the admin server instead of the start|stop|restart-ds-admin scripts.
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.