1
0
Fork 0
forgejo/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 Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
manager.go Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
manager_unix.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
manager_windows.go Fix regression from #14623 - use debug SVC handler only on interactive sessions (#15210) 2021-03-31 22:48:48 +03:00
net_unix.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
net_windows.go Fix missed change to GetManager() (#9361) 2019-12-15 13:15:17 +00:00
restart_unix.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
server.go Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00
server_hooks.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
server_http.go Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00