diff --git a/n/essentialsoftware.md b/n/essentialsoftware.md index d74c925..34ff03a 100644 --- a/n/essentialsoftware.md +++ b/n/essentialsoftware.md @@ -51,6 +51,7 @@ _{{ page.excerpt }}_ - [Encrypted DNS](#encrypted-dns) - [`/etc/xdg/autostart`](#etcxdgautostart) - [`aminda-*.{service,socket}`](#aminda-servicesocket) + - [systemd sockets](#systemd-sockets) - [Remember!](#remember) - [Accessing UEFI setup without key smashing](#accessing-uefi-setup-without-key-smashing) - [Recovering selinux policy issues](#recovering-selinux-policy-issues) @@ -553,6 +554,18 @@ don't forget `/etc/sysctl.d` - https://codeberg.org/Aminda/shell-things/src/branch/cxefa/etc/systemd/system +### systemd sockets + +Starting services on-demand rather than keeping them on all the time. Some of +these are already on this page, but to recap and have them all in one place: + +```bash +# User services or sockets +sudo systemctl --global enable foot-server.socket +# System sockets +sudo systemctl enable --now ssh.socket sshd.socket avahi-daemon.socket systemd-oomd.socket oidentd.socket +``` + ## Remember! Not quite configuration, but I am not going to start inventing a new place for