瀏覽代碼

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