For me 'make prefix=/usr libdir=/usr/lib64 sysconfdir=/etc install' put the
configuration files in /etc/corewatcher/, but these files weren't looking
in that subdirectory.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
#include <stdio.h>
#include <glib.h>
-#define DEFAULT_FILE "/etc/corewatcher.conf"
+#define DEFAULT_FILE "/etc/corewatcher/corewatcher.conf"
#define DEFAULT_GROUP "corewatcher"
int parse_arg(gchar *arg, gchar **group, gchar **key, gchar **value)
if (nice(15) < 0)
perror("Can not set schedule priority");
- read_config_file("/etc/corewatcher.conf");
+ read_config_file("/etc/corewatcher/corewatcher.conf");
while (1) {
int c;