summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'segget/segget.conf')
-rw-r--r--segget/segget.conf33
1 files changed, 8 insertions, 25 deletions
diff --git a/segget/segget.conf b/segget/segget.conf
index 4d6413d..219530e 100644
--- a/segget/segget.conf
+++ b/segget/segget.conf
@@ -1,6 +1,7 @@
[folders]
# By default segget daemon will use the following folders for its files:
# /etc/seggetd - for config files for seggetd, tuiclient and request tool
+# /etc/init.d/seggetd - init file for segget daemon
# /usr/bin - binary files: seggetd, tuiclient, request
# /usr/share/seggetd/scripts - for user-side python script files
# /usr/share/seggetd/webui - for webui files
@@ -14,27 +15,13 @@
# Define a dir to store distfiles
# Default:
# distfiles_dir=/usr/portage/distfiles
-distfiles_dir=./distfiles
+distfiles_dir=/usr/portage/distfiles
# SEGMENTS_DIR
# Define a dir to store distfiles' segments
# Default:
# segments_dir=/tmp/seggetd/segments
-#segments_dir=./tmp
-
-[pkg_list]
-# PKG_LIST_DIR
-# Define a dir with pkg.list file
-# Default:
-# pkg_list_dir=./
-pkg_list_dir=./
-
-# SYNOPSIS: del_pkg_list_when_dld_finished=0 | 1
-# - If del_pkg_list_when_dld_finished set to 1:
-# Segget deletes pkg.list file, after all distfiles were successfuly fetched.
-# Default:
-# del_pkg_list_when_dld_finished=1
-del_pkg_list_when_dld_finished=1
+segments_dir=/tmp/seggetd/segments
[portage]
# SYNOPSIS: fetch_only=0 | 1
@@ -99,8 +86,6 @@ max_connections=10
# current_speed_time_interval_msecs=1000
current_speed_time_interval_msecs=1000
-# NOT IMPLEMENTED YET: max_total_speed=50000
-
[mirrors]
# MAX_CONNECTIONS_NUM_PER_MIRROR
# Define how many simultaneous downloads from one mirror segget is allowed to
@@ -174,7 +159,7 @@ benchmark_oblivion=5
# If set to none, segget will not make symlinks.
# Default:
# provide_mirror_dir=none
-provide_mirror_dir=./provide_mirror_dir
+provide_mirror_dir=none
# SYNOPSIS: PROVIDE_MIRROR_FILES_RESTRICT_LIST_ON= 0 | 1
# If PROVIDE_MIRROR_DIR=none this option will be ignored.
@@ -244,8 +229,6 @@ network7_priority=0
network8_priority=0
network9_priority=0
-[schedule]
-
[user-data]
# USER_AGENT
# Set the User-Agent: header in the http request sent to the remote server.
@@ -388,22 +371,22 @@ python_path=/usr/bin/python
# be saved in net3_script_stdout.log.
# Default:
# scripts_dir=/usr/share/seggetd/scripts
-scripts_dir=./scripts
+scripts_dir=/usr/share/seggetd/scripts
# SCRIPT_SOCKET_PATH
# Segget uses AF_UNIX domain sockets for communication with python.
# Specify path for the socket on your filesystem.
# NOTE !: Default value can NOT be changed yet (option under development).
# Default:
-# script_socket_path=/tmp/segget_script_socket
-script_socket_path=/tmp/segget_script_socket
+# script_socket_path=/tmp/seggetd/script_socket
+script_socket_path=/tmp/seggetd/script_socket
[logs]
# LOGS_DIR
# Define a dir to store log files.
# Default:
# logs_dir=/var/log/seggetd
-logs_dir=/home/mona/idfetcha/logs
+logs_dir=/var/log/seggetd
# GENERAL_LOG_FILE
# Define a file name to store general log.