mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Path Specific Configuration (markdown)
parent
57a407759d
commit
bb57b5dd4a
|
@ -20,29 +20,36 @@ $ weed shell
|
||||||
|
|
||||||
# fs.configure will display current filer.conf content
|
# fs.configure will display current filer.conf content
|
||||||
> fs.configure
|
> fs.configure
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
# add a location specific collection setting
|
# add a location specific collection setting
|
||||||
> fs.configure -locationPrefix=/tests/ -collection=special
|
> fs.configure -locationPrefix=/tests/ -collection=special
|
||||||
locations: <
|
{
|
||||||
location_prefix: "/tests/"
|
"locations": [
|
||||||
collection: "special"
|
{
|
||||||
>
|
"locationPrefix": "/tests/",
|
||||||
|
"collection": "special"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
# save the above setting
|
# save the above setting
|
||||||
> fs.configure -locationPrefix=/tests/ -collection=special -apply
|
> fs.configure -locationPrefix=/tests/ -collection=special -apply
|
||||||
locations: <
|
{
|
||||||
location_prefix: "/tests/"
|
"locations": [
|
||||||
collection: "special"
|
{
|
||||||
>
|
"locationPrefix": "/tests/",
|
||||||
> fs.configure
|
"collection": "special"
|
||||||
locations: <
|
}
|
||||||
location_prefix: "/tests/"
|
]
|
||||||
collection: "special"
|
}
|
||||||
>
|
|
||||||
|
|
||||||
# delete the above setting and save to the filer
|
# delete the above setting and save to the filer
|
||||||
> fs.configure -locationPrefix=/tests/ -delete -apply
|
> fs.configure -locationPrefix=/tests/ -delete -apply
|
||||||
>
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
# see more options
|
# see more options
|
||||||
> fs.configure -h
|
> fs.configure -h
|
||||||
|
|
Loading…
Reference in a new issue