Sending a SIGUSR2 signal to Launchpad will cause logfiles to be reopened, allowing a tool like logrotate to rotate them.
Function | sigusr2_handler | Rotate logfiles in response to SIGUSR2. |
Function | setup_sigusr2 | Configure the SIGUSR2 handler. Called at startup. |