Skip to content

Instantly share code, notes, and snippets.

View Sir-Photch's full-sized avatar
🤬
*!?.#&=

Christoph Sir-Photch

🤬
*!?.#&=
View GitHub Profile
@ageis
ageis / systemd_service_hardening.md
Last active July 19, 2024 22:23
Options for hardening systemd service units

security and hardening options for systemd service units

A common and reliable pattern in service unit files is thus:

NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
@kescherCode
kescherCode / daemon
Last active December 4, 2023 11:18
A rrdtool network graph generator, as seen on https://mirror.kescher.at.
#!/usr/bin/env bash
while :; do
bash loop
sleep 5
done