You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we handle some signal (perhaps SIGUSR1 or SIGUSR2) as a request to reopen the log file? This will allow the logrotate daemon to not restart maddy to correctly perform the rotation.
Not a fan of this, we'll end up with more features we want than signals available. Any idea how other daemons handle this?
Other daemons either have a full-blown IPC interface using Unix sockets or offer only one-two basic functions like "reload config" using SIGUSR1/SIGUSR2 signals.
Speaking of available signals, since Linux 2.2 we have 31 signals for application use (SIGRTMIN-SIGRTMAX, excluding two possibly used by glibc internally (let's say we use sqlite3).
Signals from this range also have some interesting properties, see signal(7)
Global directive?
Write to stderr (default).
Write to file.
Send messages to local syslog daemon.
Can be combined:
The text was updated successfully, but these errors were encountered: