diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-03-30 08:48:44 -0500 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2010-04-06 18:14:54 -0600 |
commit | a640bf6f589c915085be1de27e1261650ccb2528 (patch) | |
tree | 4d8c7fabd18b87a163f85e40450bd5585381a909 | |
parent | 700ba895387aaf63523353f622e57fab9726b0f2 (diff) | |
download | ds-a640bf6f589c915085be1de27e1261650ccb2528.tar.gz ds-a640bf6f589c915085be1de27e1261650ccb2528.tar.xz ds-a640bf6f589c915085be1de27e1261650ccb2528.zip |
Bug 566043 - startpid file is only cleaned by initscript runs
https://bugzilla.redhat.com/show_bug.cgi?id=566043
Resolves: bug 566043
Branch: Directory_Server_8_2_Branch
Bug description: startpid file is only cleaned by initscript runs
Fix description: The start-dirsrv script has been modified to remove
the startpid file if the server starts successfully.
Reviewed by: rmeggins (and pushed by)
(cherry picked from commit 0c9d4590489066d2f8dc945c9749c429972e78a9)
-rwxr-xr-x | ldap/admin/src/scripts/start-dirsrv.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/admin/src/scripts/start-dirsrv.in b/ldap/admin/src/scripts/start-dirsrv.in index 46c48d71..d3788be9 100755 --- a/ldap/admin/src/scripts/start-dirsrv.in +++ b/ldap/admin/src/scripts/start-dirsrv.in @@ -83,6 +83,7 @@ start_instance() { fi else PID=`cat $PIDFILE` + rm -f $STARTPIDFILE return 0; fi done |