Changed data directory to /var/lib/maxscale.

This commit is contained in:
Markus Makela
2015-05-22 11:31:22 +03:00
parent 6d9765f736
commit 0d85ae6603
6 changed files with 22 additions and 9 deletions

View File

@ -17,3 +17,13 @@ char* get_cachedir()
{
return cachedir?cachedir:(char*)default_cachedir;
}
/**
* Get the service cache directory
* @return The path to the cache directory
*/
char* get_datadir()
{
return maxscaledatadir?maxscaledatadir:(char*)default_datadir;
}