You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/graceful
zeripath 1d7b7504d0
Make CertFile and KeyFile relative to CustomPath (#9868)
* Make CertFile and KeyFile relative to CustomPath

The current code will absolute CertFile and KeyFile against the current working directory. This is quite unexpected for users. This code makes relative paths absolute against the CustomPath.

Fix #4196

* Improve error reporting when reading certificates

* Apply suggestions from code review

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
..
context.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
manager.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
manager_unix.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
manager_windows.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
net_unix.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
net_windows.go Fix missed change to GetManager() (#9361) 5 years ago
restart_unix.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
server.go Make CertFile and KeyFile relative to CustomPath (#9868) 5 years ago
server_hooks.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
server_http.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 5 years ago