indexing: create lock / pid file
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user