[systemd-devel] Logroate + Pass signal to executable in container (nspawn)

"Jóhann B. Guðmundsson" johannbg at gmail.com
Mon Feb 23 09:56:43 PST 2015


On 02/23/2015 02:12 PM, Peter Paule wrote:
> Hi,
>
> I run "nginx" in a container which itself is under systemd-control. All
> error messages are put to stderr and the incomming requests are logged in
> access.log. To reduce the filesize I want to rotate the access.log.

If you are not using systemd's journal to handle this for you but are 
using textual log files you will need to install and setup tools that 
correctly deal with that.
Something like logrotate should suffice.

JBG


More information about the systemd-devel mailing list