소스 검색

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)
Endi S. Dewata 15 년 전
부모
커밋
0c9d459048
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      ldap/admin/src/scripts/start-dirsrv.in

+ 1 - 0
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