Skip to content

Instantly share code, notes, and snippets.

View haukex's full-sized avatar
🍔

Hauke D haukex

🍔
View GitHub Profile
@haukex
haukex / Dockerfile
Last active September 30, 2023 20:46
rsyslogd rotation.sizeLimitCommand problem
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends rsyslog
COPY rsyslog.d-demo.conf /etc/rsyslog.d/00-demo.conf
RUN mkdir -vp /var/log/user
# this command just comments out kernel logging support (the line `module(load="imklog")`)
RUN perl -wMstrict -i -ple 's/^(?=\s*module\s*\(\s*[^)]*\bimklog\b)/#/' /etc/rsyslog.conf
COPY *.sh /usr/local/bin/
@haukex
haukex / Makefile
Created March 28, 2024 15:05
sphinx-markdown-builder unknown node type desc_returns
.PHONY: docs clean
docs:
PYTHONPATH=. sphinx-build -M markdown . output
clean:
rm -rf output