Daily Reboot with Systemd

Daily Reboot with Systemd

To perform a full reboot you can use the systemctl reboot command, but how can you schedule it at a specific time? In this post I explain how to do it using systemd, the boot manager and administration system for Linux distributions. Among the systemd timer services there’s a little-known feature that allows you to schedule an automatic reboot whenever you want. …

July 23, 2023 · 2 min
Socketed SSH

Socketed SSH

Systemd is a system used in Linux to manage boot and system processes. Its “units” are configuration files that describe the processes and services that systemd manages. One of these units is systemd.socket, which starts the corresponding daemon when a connection is established through a socket with the machine. A socket is a form of communication between processes over a network or within the system. By creating a unit of this type, we ask it to listen on a specific socket and start a specific service when a connection is received. …

April 14, 2023 · 2 min
User Systemd Services

User Systemd Services

The systemd manager allows configuring services from a normal system user. These systemd user services are a little-known but very useful feature. It consists of being able to create and use .service files from a user’s local directory that run with their privileges. …

May 30, 2021 · 2 min
Static IP with Systemd on Gentoo

Static IP with Systemd on Gentoo

In this post I describe how to configure a static IP address on a Linux machine based on Gentoo. Normally this operating system comes pre-configured to load a dynamic IP address via the DHCP protocol. …

December 23, 2013 · 2 min