brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

tips

~/tips/systemd
All tips

88 tips Systemd

One command, setting or habit at a time about Systemd: what it does, the line to copy and a caveat or two.

Unit files 25

Timers and sockets 14

systemd 14

Hardening 10

Analysis 7

Kernel and system 5

Network and DNS 3

Boots and kernel 2

DNS and Pi-hole 2

Filtering 2

Logs and diagnostics 2

Mounts and writes 2

  • Name mount unit files correctly so systemd accepts them, using systemd-escape.

    systemd-escape -p --suffix=mount /mnt/backup
  • Mounts a network share only when a program opens the folder, so boot never waits for it.

    192.168.1.x:/export/media /mnt/media nfs x-systemd.automount,x-systemd.idle-timeout=10min 0 0