diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2017-01-25 14:19:55 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 14:19:55 -0200 |
commit | e7c3be5f2f20a358cabf96d0807845865caf2cbd (patch) | |
tree | 6db69faeaa73954ff447a9e02494fa90a8a87caf /modules/setting | |
parent | da1b6164fe3384a43cd440e54a8a2a10defc3553 (diff) | |
parent | 2009f4cbdae9095240bd8c5408e097e101499879 (diff) | |
download | gitea-e7c3be5f2f20a358cabf96d0807845865caf2cbd.tar.gz gitea-e7c3be5f2f20a358cabf96d0807845865caf2cbd.zip |
Merge pull request #736 from andreynering/fix-windows-ssh
Fix SSH server on Windows when running as service
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index fd0f5085c9..0586bce94b 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -22,13 +22,14 @@ import ( "code.gitea.io/git" "code.gitea.io/gitea/modules/log" + _ "code.gitea.io/gitea/modules/minwinsvc" // import minwinsvc for windows services "code.gitea.io/gitea/modules/user" + "github.com/Unknwon/com" _ "github.com/go-macaron/cache/memcache" // memcache plugin for cache _ "github.com/go-macaron/cache/redis" "github.com/go-macaron/session" _ "github.com/go-macaron/session/redis" // redis plugin for store session - _ "github.com/kardianos/minwinsvc" // import minwinsvc for windows services "gopkg.in/ini.v1" "strk.kbt.io/projects/go/libravatar" ) |