Change default environment variable
This commit is contained in:
parent
371d73e9e8
commit
c668967fdf
@ -436,7 +436,7 @@ main(int argc, char *argv[])
|
||||
|
||||
/* Default is current directory */
|
||||
if (!MUNIN_PLUGSTATE)
|
||||
MUNIN_PLUGSTATE = ".";
|
||||
MUNIN_PLUGSTATE = strdup("/var/munin/plugin-state/root");
|
||||
|
||||
asprintf(&pid_filename, "%s/%s.pid", MUNIN_PLUGSTATE, program_name);
|
||||
asprintf(&cache_filename, "%s/%s.value", MUNIN_PLUGSTATE, program_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user