indexing: create lock / pid file

This commit is contained in:
Jean-Francois Dockes
2011-01-08 19:24:26 +01:00
parent 9d26fe43cf
commit 166399fd62
6 changed files with 182 additions and 11 deletions
+4
View File
@@ -850,6 +850,10 @@ string RclConfig::getStopfile()
{
return path_cat(getConfDir(), "stoplist.txt");
}
string RclConfig::getPidfile()
{
return path_cat(getConfDir(), "index.pid");
}
list<string>& RclConfig::getSkippedNames()
{
+2
View File
@@ -135,6 +135,8 @@ class RclConfig {
string getDbDir();
/** Get stoplist file name */
string getStopfile();
/** Get indexing pid file */
string getPidfile();
/** Get list of skipped file names for current keydir */
list<string>& getSkippedNames();