diff options
author | zeripath <art27@cantab.net> | 2019-04-29 19:08:21 +0100 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-04-29 14:08:21 -0400 |
commit | 8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139 (patch) | |
tree | 0a8817abd2512ca2ebccfd4e5dc08814933aad2b /cmd/dump.go | |
parent | ccf4783980effa871abaecd70d0f983c5062a187 (diff) | |
download | gitea-8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139.tar.gz gitea-8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139.zip |
Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)
Diffstat (limited to 'cmd/dump.go')
-rw-r--r-- | cmd/dump.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/dump.go b/cmd/dump.go index 98e930f2fb..a9e83f36d9 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -31,11 +31,6 @@ It can be used for backup and capture Gitea server image to send to maintainer`, Action: runDump, Flags: []cli.Flag{ cli.StringFlag{ - Name: "config, c", - Value: "custom/conf/app.ini", - Usage: "Custom configuration file path", - }, - cli.StringFlag{ Name: "file, f", Value: fmt.Sprintf("gitea-dump-%d.zip", time.Now().Unix()), Usage: "Name of the dump file which will be created.", @@ -61,9 +56,6 @@ It can be used for backup and capture Gitea server image to send to maintainer`, } func runDump(ctx *cli.Context) error { - if ctx.IsSet("config") { - setting.CustomConf = ctx.String("config") - } setting.NewContext() setting.NewServices() // cannot access session settings otherwise models.LoadConfigs() |