From 33033072998d2ea8cb7bb77fb3004869a2558a2e Mon Sep 17 00:00:00 2001 From: Andre Heber Date: Wed, 21 Aug 2024 00:09:50 +0200 Subject: [PATCH] logrotation works --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5358d1b..d7aa282 100644 --- a/README.md +++ b/README.md @@ -13,5 +13,5 @@ I want a docker image that behaves more like a VM: - [x] Starting & Stopping services with `s6-rc start myapp` and `s6-rc stop myapp` - [x] `docker exec` into the container and run myapp manually, it uses the env vars of the shell - [x] Logging: `/var/log/myapp/current` is filled -- [ ] Logrotation +- [x] Logrotation: With `ps aufxww`, you can see that `s6-log -b -- n20 s1000000 T /var/log/myapp` is running, which means that it rotates when the file becomes 1MB, it keeps 20 files and with `T` prepends ISO 8601 timestamp to each line - [ ] Cron \ No newline at end of file