File monit-rundir.patch of Package monit

Index: src/monit.h
===================================================================
--- src/monit.h.orig
+++ src/monit.h
@@ -143,11 +143,11 @@ typedef enum {
 #define USEC_PER_MSEC      1000L
 
 #define ARGMAX             64
-#define MYPIDDIR           PIDDIR
+#define MYPIDDIR           "/run/monit"
 #define MYPIDFILE          "monit.pid"
 #define MYSTATEFILE        "monit.state"
 #define MYIDFILE           "monit.id"
-#define MYEVENTLISTBASE    "/var/monit"
+#define MYEVENTLISTBASE    "/run/monit/events"
 
 #define LOCALHOST          "localhost"