From 8d0d7bc28d517acc9ca98f0468d7ff2a4fdaf139 Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 29 Apr 2019 19:08:21 +0100 Subject: Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) --- cmd/migrate.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'cmd/migrate.go') diff --git a/cmd/migrate.go b/cmd/migrate.go index 3e6bf907a4..dde50a455f 100644 --- a/cmd/migrate.go +++ b/cmd/migrate.go @@ -19,20 +19,9 @@ var CmdMigrate = cli.Command{ Usage: "Migrate the database", Description: "This is a command for migrating the database, so that you can run gitea admin create-user before starting the server.", Action: runMigrate, - Flags: []cli.Flag{ - cli.StringFlag{ - Name: "config, c", - Value: "custom/conf/app.ini", - Usage: "Custom configuration file path", - }, - }, } func runMigrate(ctx *cli.Context) error { - if ctx.IsSet("config") { - setting.CustomConf = ctx.String("config") - } - if err := initDB(); err != nil { return err } -- cgit v1.2.3