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:12:38 -0600 |
commit | 0c9d4590489066d2f8dc945c9749c429972e78a9 (patch) | |
tree | 030e8b384305f89b79ff13ee698077ec4c7604b0 | |
parent | e72f8af0bec1c9eddd09e3a897b14af2c3330cb8 (diff) | |
download | ds-0c9d4590489066d2f8dc945c9749c429972e78a9.tar.gz ds-0c9d4590489066d2f8dc945c9749c429972e78a9.tar.xz ds-0c9d4590489066d2f8dc945c9749c429972e78a9.zip |
Bug 566043 - startpid file is only cleaned by initscript runs
https://bugzilla.redhat.com/show_bug.cgi?id=566043
Resolves: bug 566043
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)
-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 4e957854..d7144d15 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 |