summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostyantyn Ovechko <fastinetserver@gmail.com>2010-08-12 13:40:14 +0300
committerKostyantyn Ovechko <fastinetserver@gmail.com>2010-08-12 13:40:14 +0300
commit17d325854b2c6a74db76418b0d8aa749383e8e39 (patch)
tree1e6438e01bc471e5d1bdb222d009ccb79c531509 /request/settings.cpp
parentFix tuiclient scrollwindow when there're no lines. (diff)
downloadidfetch-17d325854b2c6a74db76418b0d8aa749383e8e39.tar.gz
idfetch-17d325854b2c6a74db76418b0d8aa749383e8e39.tar.bz2
idfetch-17d325854b2c6a74db76418b0d8aa749383e8e39.zip
Adjust default folders.
By default segget daemon will use the following folders for its files: /etc/seggetd - for config files for seggetd, tuiclient and request tool /usr/bin - binary files: seggetd, tuiclient, request /usr/share/seggetd/scripts - for user-side python script files /usr/share/seggetd/webui - for webui files /tmp/seggetd/pkg.list - to save distfile list generated by portage and parse it by request tool to segget daemon /tmp/seggetd/segments - to store segments /usr/portage/distfiles - to store ready to use distfiles /var/log/seggetd - to store log files
Diffstat (limited to 'request/settings.cpp')
-rw-r--r--request/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/request/settings.cpp b/request/settings.cpp
index bf386ea..8bfdf37 100644
--- a/request/settings.cpp
+++ b/request/settings.cpp
@@ -30,7 +30,7 @@ Tsettings settings;
void Tsettings::init(){
try{
- Tconfig conf("segget.conf");
+ Tconfig conf(conf_dir+"/segget.conf");
// conf.set("logs","general_log_file",general_log_file);
// conf.set("logs","logs_dir",logs_dir);
// conf.set("logs","error_log_file",error_log_file);