:: Re: [DNG] Runit logging
トップ ページ
このメッセージを削除
このメッセージに返信
著者: wirelessduck
日付:  
To: dng
題目: Re: [DNG] Runit logging

> My question is whether there is any way to make svlogd compress the logs when it rotates them? Do I need to tell svlogd to ignore any rotation and setup some sort of logrotate.d configuration? Has anyone else done this successfully?


So this turned out to be much easier than expected. Just needed a postrotate section in the logrotate.d config that runs

/usr/bin/sv hup daemonservice/log