From 648d9e253c1924b832248f26fee42b2fb64dc3bc Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sat, 22 Feb 2020 09:05:26 +0800 Subject: conf: overhaul server settings (#5928) * conf: rename package * Requires Go 1.12 * Fix lint * Fix lint * Overhaul * db: fix tests * Save my work * Fix tests * Server.UnixSocketPermission * Server.LocalRootURL * SSH settings * Server.OfflineMode * Save my work * App.Version * Remove [server] STATIC_ROOT_PATH * Server.LandingURL --- internal/setting/computed_minwinsvc.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 internal/setting/computed_minwinsvc.go (limited to 'internal/setting/computed_minwinsvc.go') diff --git a/internal/setting/computed_minwinsvc.go b/internal/setting/computed_minwinsvc.go deleted file mode 100644 index 27d0ce87..00000000 --- a/internal/setting/computed_minwinsvc.go +++ /dev/null @@ -1,15 +0,0 @@ -// +build minwinsvc - -// Copyright 2015 The Gogs Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. - -package setting - -import ( - _ "github.com/gogs/minwinsvc" -) - -func init() { - supportWindowsService = true -} -- cgit v1.2.3