Job Snijders

1.1K Followers
331 Following
274 Posts

I solved it by adding the following to the .container file:

ExecStopPost=/bin/sh -c '/usr/bin/journalctl -u rrdp-sync.service --invocation 0 >> /data/logs/$$(date +%%Y%%m%%d).log'

Thanks @jaseg for the hint

I'm not the only one struggling with what at first glance would appear to be a simple requirement... https://serverfault.com/questions/1103320/systemd-standardoutput-to-a-file-and-to-the-journal
systemd StandardOutput to a file _and_ to the journal?

I am regularly doing a long running (~5 day) data processing programme. I'm using Ubuntu and running the command with a systemd transient task via systemd-run --unit data_import /path/to/my-script....

Server Fault

ok systemd experts, how the heck do I get the output of a oneshot container with LogDriver=passthrough into both journald _and_ a regular log file that's rotated daily? Similar use case as described here https://github.com/systemd/systemd/issues/38684#issuecomment-3221956220

I need simple log files for long term archiving

In the old world I'd just do "./program | tee -a /logs/$(date +%Y%m%d.log)"

Rotate StandardOutput= file when rotating logs · Issue #38684 · systemd/systemd

Component journalctl, systemd Description The most efficient way to write daemon logs into a specific file is using: [Service] StandardOutput=append:/var/log/xxx.log StandardError=append:/var/log/x...

GitHub
Filing this away in my “very specific signs” folder (Futian, Shenzhen)
The RPKI is a distributed database - a recording of my talk at IETF 125 "Tech Deep Dive on Routing Security" (skipped to DB part) https://www.youtube.com/watch?v=NRMjgwzbKjk&t=4416s
IETF 125: Technology Deep Dive (TDD) 2026-03-18 06:00

YouTube

RIP FX

We collected some texts from the community in memory of FX. You can find them here https://phenoelit.de/fx.html

Phenoelit

De NOS zoekt een netwerkbeheerder en wie weet zit die persoon wel hier: https://www.werkenbijdenos.nl/netwerk-beheerder-2/nl
Netwerk beheerder

Ben jij een ervaren netwerkbeheerder met een passie voor ICT? Wil je werken voor een dynamische nieuwsorganisatie die 24/7 doorgaat?

NOS
I wrote some guidance on how you can improve your EBGP security with little effort https://lists.nanog.org/archives/list/[email protected]/message/LHXZO7FKXB7FXPE5DIH7KNOMFNXKSDLI/
Securing EBGP while getting rid of big IRR-based prefix-list-filters (Was: How long AS-PATH policies have you used) - NANOG - lists.nanog.org

i built an entire x86 CPU emulator in CSS (no javascript)

you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

https://lyra.horse/x86css/

How do you politely and constructively respond to acquaintances asking you to review their AI generated technical papers?

I have trouble articulating what exactly the issue is on my side: mismatch in investment? Mismatch in who faces consequences after AI generated ideas get operationalised? Disappointment there is no joint learning?