File monit-rundir.patch of Package monit.openSUSE_Leap_42.2_Update
--- monit-5.20.0/src/monit.h 2016-10-21 11:58:30.000000000 +0200
+++ monit-5.20.0/src/monit.h 2016-11-04 22:43:48.133424858 +0100
@@ -142,11 +142,11 @@
#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"