0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 12:12:04 +01:00
gitea/modules/graceful
zeripath bdc1697729
Drop back to use IsAnInteractiveSession for SVC (#15749)
* Drop back to use IsAnInteractiveSession for SVC

There is an apparent permission change problem when using
IsWindowsService to determine if the SVC manager should be
used.

This PR simply drops back to using IsAnInteractiveSession as
this does not change behaviour.

Fix #15454

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

* Yes staticcheck I know this is deprecated

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

* Just leave me alone lint

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

Co-authored-by: 6543 <6543@obermui.de>
2021-05-07 11:27:31 +02:00
..
context.go
manager_unix.go
manager_windows.go Drop back to use IsAnInteractiveSession for SVC (#15749) 2021-05-07 11:27:31 +02:00
manager.go
net_unix.go
net_windows.go
restart_unix.go
server_hooks.go
server_http.go Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00
server.go Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00