mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-11-29 22:08:10 +02:00
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/drakkan/sftpgo/ftpd"
|
||||
"github.com/drakkan/sftpgo/httpd"
|
||||
"github.com/drakkan/sftpgo/logger"
|
||||
"github.com/drakkan/sftpgo/webdavd"
|
||||
)
|
||||
|
||||
func registerSigHup() {
|
||||
@@ -31,6 +32,10 @@ func registerSigHup() {
|
||||
if err != nil {
|
||||
logger.Warn(logSender, "", "error reloading FTPD TLS certificate: %v", err)
|
||||
}
|
||||
err = webdavd.ReloadTLSCertificate()
|
||||
if err != nil {
|
||||
logger.Warn(logSender, "", "error reloading WebDav TLS certificate: %v", err)
|
||||
}
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user