mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
Allow to rotate logs on demand
Log file can be rotated sending a SIGUSR1 signal on Unix based systems and using "sftpgo service rotatelogs" on Windows Fixes #133
This commit is contained in:
3
service/sigusr1_windows.go
Normal file
3
service/sigusr1_windows.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package service
|
||||
|
||||
func registerSigUSR1() {}
|
||||
Reference in New Issue
Block a user