Skip to content

Commit

Permalink
docs: dir path (dragonflyoss#904)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Dec 9, 2021
1 parent 637ed8a commit 866f627
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 9 deletions.
5 changes: 5 additions & 0 deletions docs/en/deployment/configuration/cdn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ base:
# storageMode is the Mode of storage policy, [disk/hybrid]
storageMode: disk

# logDir is the log storage directory
# in linux, default value is /var/log/dragonfly
# in macos(just for testing), default value is /Users/$USER/.dragonfly/logs
logDir: ""

# manager configuration
manager:
addr: ""
Expand Down
21 changes: 13 additions & 8 deletions docs/en/deployment/configuration/dfget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ aliveTime: 0s
# daemon gc task running interval
gcInterval: 1m0s

# daemon data directory
# in linux, default value is $HOME/.dragonfly/dfget-daemon/
# in macos(just for testing), default value is /Users/$USER/.dragonfly/dfdaemon/
dataDir: /var/lib/dragonfly

# daemon work directory, daemon will change current working directory to this
# in linux, default value is $HOME/.dragonfly/dfget-daemon/
# in macos(just for testing), default value is /Users/$USER/.dragonfly/dfdaemon/
workHome: /var/lib/dragonfly
# in linux, default value is /usr/local/dragonfly
# in macos(just for testing), default value is /Users/$USER/.dragonfly
workHome: ""

# cacheDir is dynconfig cache storage directory
# in linux, default value is /var/cache/dragonfly
# in macos(just for testing), default value is /Users/$USER/.dragonfly/cache
cacheDir: ""

# logDir is the log storage directory
# in linux, default value is /var/log/dragonfly
# in macos(just for testing), default value is /Users/$USER/.dragonfly/logs
logDir: ""

# when daemon exit, keep peer task data or not
# it is usefully when upgrade daemon service, all local cache will be saved
Expand Down
10 changes: 10 additions & 0 deletions docs/en/deployment/configuration/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ server:
# default: 8002
port: 8002

# cacheDir is dynconfig cache storage directory
# in linux, default value is /var/cache/dragonfly
# in macos(just for testing), default value is /Users/$USER/.dragonfly/cache
cacheDir: ""

# logDir is the log storage directory
# in linux, default value is /var/log/dragonfly
# in macos(just for testing), default value is /Users/$USER/.dragonfly/logs
logDir: ""

# dynamic data configuration
dynConfig:
# dynamic data source type
Expand Down
1 change: 0 additions & 1 deletion test/testdata/k8s/proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ data:
aliveTime: 0s
gcInterval: 1m0s
keepStorage: false
dataDir: /root/.dragonfly/dfget-daemon/
workDir: /root/.dragonfly/dfget-daemon/
verbose: true
pprof-port: 0
Expand Down

0 comments on commit 866f627

Please sign in to comment.