0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-05 00:49:45 +01:00
gitea/modules/graceful
zeripath 113c1557ff
Fix regression from #14623 - use debug SVC handler only on interactive sessions (#15210)
Unfortunately #14623 changed from the deprecated IsInteractiveSession to
IsWindowsService without recognising that they are the complement of
each other.

This means that Windows SVC control is not working correctly. This PR
adds some Tracing statements but also fixes the bug.

Fix #15159

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-03-31 22:48:48 +03:00
..
context.go
manager_unix.go
manager_windows.go Fix regression from #14623 - use debug SVC handler only on interactive sessions (#15210) 2021-03-31 22:48:48 +03:00
manager.go
net_unix.go
net_windows.go
restart_unix.go
server_hooks.go
server_http.go
server.go