ソースを参照

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