<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Systemd on Linux Café</title>
    <link>https://mrtomlinux.org/tags/systemd/</link>
    <description>Recent content in Systemd on Linux Café</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 10 Jun 2026 08:31:17 +0200</lastBuildDate>
    <atom:link href="https://mrtomlinux.org/tags/systemd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Taming systemd-resolved: My Journey to Reliable DNS Resolution at Home</title>
      <link>https://mrtomlinux.org/post/2026-06-10-taming-systemd-resolved-my-journey-to-reliabl/</link>
      <pubDate>Wed, 10 Jun 2026 08:31:17 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-06-10-taming-systemd-resolved-my-journey-to-reliabl/</guid>
      <description>&lt;h2 id=&#34;introduction-to-systemd-resolved&#34;&gt;Introduction to systemd-resolved&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve been using Linux for years, and I&amp;rsquo;ve had my fair share of struggles with DNS resolution. Recently, I decided to take a closer look at &lt;code&gt;systemd-resolved&lt;/code&gt;, the DNS resolver component of systemd. I was looking for a reliable way to resolve DNS at home, and I&amp;rsquo;m happy to share what I&amp;rsquo;ve learned.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-is-systemd-resolved&#34;&gt;What is systemd-resolved?&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;systemd-resolved&lt;/code&gt; is a system service that provides DNS resolution for Linux systems. It&amp;rsquo;s designed to replace traditional DNS resolvers like &lt;code&gt;bind&lt;/code&gt; and &lt;code&gt;dnsmasq&lt;/code&gt;. One of the key benefits of &lt;code&gt;systemd-resolved&lt;/code&gt; is its integration with the rest of the systemd ecosystem, making it easy to manage and configure. Don&amp;rsquo;t bother with &lt;code&gt;bind&lt;/code&gt; and &lt;code&gt;dnsmasq&lt;/code&gt; unless you have a specific reason to - &lt;code&gt;systemd-resolved&lt;/code&gt; is a solid choice for most users.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming Background Tasks with nohup and systemd: My Homelab Workflow</title>
      <link>https://mrtomlinux.org/post/2026-06-02-taming-background-tasks-with-nohup-and-system/</link>
      <pubDate>Tue, 02 Jun 2026 09:17:56 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-06-02-taming-background-tasks-with-nohup-and-system/</guid>
      <description>&lt;h2 id=&#34;introduction-to-background-tasks&#34;&gt;Introduction to Background Tasks&lt;/h2&gt;&#xA;&lt;p&gt;As someone who&amp;rsquo;s spent years running a homelab, I&amp;rsquo;ve found myself dealing with a multitude of background tasks on a daily basis. These tasks can range from simple scripts to complex services, all of which need to be managed and monitored. I&amp;rsquo;ve seen this go wrong when a task is left to run without proper management, so I&amp;rsquo;ve learned to rely on tools like &lt;code&gt;screen&lt;/code&gt; and &lt;code&gt;tmux&lt;/code&gt; to keep my tasks running. However, I&amp;rsquo;ve recently started using &lt;code&gt;nohup&lt;/code&gt; and &lt;code&gt;systemd&lt;/code&gt; to manage my background tasks, and I have to say, it&amp;rsquo;s been a game-changer.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming Removable Device Chaos: Automatically Mounting and Naming Disks on Desktop Linux</title>
      <link>https://mrtomlinux.org/post/2026-05-30-taming-removable-device-chaos-automatically-m/</link>
      <pubDate>Sat, 30 May 2026 10:15:43 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-30-taming-removable-device-chaos-automatically-m/</guid>
      <description>&lt;h2 id=&#34;introduction-to-removable-device-chaos&#34;&gt;Introduction to Removable Device Chaos&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve lost count of how many times I&amp;rsquo;ve struggled with removable devices on my Linux desktop. Whether it&amp;rsquo;s a USB drive, an SD card, or an external hard drive, these devices can be a real hassle to manage. The problem usually starts when you plug in a device and your system assigns it a cryptic device file in the &lt;code&gt;/dev&lt;/code&gt; directory. For example, a USB drive might become &lt;code&gt;/dev/sdb1&lt;/code&gt;. Not exactly user-friendly, right?&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming systemd Service Restarts: When RestartSec Isn&#39;t Enough</title>
      <link>https://mrtomlinux.org/post/2026-05-29-taming-systemd-service-restarts-when-restarts/</link>
      <pubDate>Fri, 29 May 2026 08:38:45 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-29-taming-systemd-service-restarts-when-restarts/</guid>
      <description>&lt;h2 id=&#34;introduction-to-systemd-service-restarts&#34;&gt;Introduction to systemd Service Restarts&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve worked with systemd services for years, and one thing that&amp;rsquo;s always caught my attention is the &lt;code&gt;Restart&lt;/code&gt; directive. You know, that option that lets you configure how a service should be restarted in case of failure. The &lt;code&gt;RestartSec&lt;/code&gt; option is particularly interesting - it specifies the time to sleep before restarting a service. But, as I&amp;rsquo;ve learned the hard way, &lt;code&gt;RestartSec&lt;/code&gt; isn&amp;rsquo;t always enough to ensure reliable service restarts.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming My Laptop&#39;s Power Consumption with systemd and Linux Tools</title>
      <link>https://mrtomlinux.org/post/2026-05-28-taming-my-laptops-power-consumption-with-syst/</link>
      <pubDate>Thu, 28 May 2026 11:33:08 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-28-taming-my-laptops-power-consumption-with-syst/</guid>
      <description>&lt;h2 id=&#34;introduction-to-power-management&#34;&gt;Introduction to Power Management&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve always been keen on optimizing my laptop&amp;rsquo;s power consumption, and with the latest Linux kernel and systemd advancements, it&amp;rsquo;s become a lot easier to manage. In this article, I&amp;rsquo;ll walk you through my experience with taming my laptop&amp;rsquo;s power usage using systemd and Linux tools.&lt;/p&gt;&#xA;&lt;h2 id=&#34;understanding-power-consumption&#34;&gt;Understanding Power Consumption&lt;/h2&gt;&#xA;&lt;p&gt;To get started, you need to know where your laptop is consuming power. I usually start with the &lt;code&gt;powertop&lt;/code&gt; tool to analyze power usage. It&amp;rsquo;s a command-line tool that shows you which components are consuming the most power. You can install it on most Linux distributions, including &lt;a href=&#34;https://archlinux.org/&#34;&gt;Arch Linux&lt;/a&gt; and &lt;a href=&#34;https://debian.org/&#34;&gt;Debian&lt;/a&gt;. Don&amp;rsquo;t bother with the GUI tools for this - &lt;code&gt;powertop&lt;/code&gt; gives you all the info you need.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Troubleshooting Failed Mounts in Emergency Mode with systemd</title>
      <link>https://mrtomlinux.org/post/2026-05-27-troubleshooting-failed-mounts-in-emergency-mo/</link>
      <pubDate>Wed, 27 May 2026 08:35:53 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-27-troubleshooting-failed-mounts-in-emergency-mo/</guid>
      <description>&lt;h2 id=&#34;introduction-to-emergency-mode&#34;&gt;Introduction to Emergency Mode&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve seen my fair share of Linux systems dropping into emergency mode, and it&amp;rsquo;s usually due to a critical issue during boot. This mode provides a minimal environment for troubleshooting and repair, which can be a lifesaver. One common issue that can lead to emergency mode is a failed mount. In this article, I&amp;rsquo;ll walk you through how to troubleshoot failed mounts in emergency mode with systemd.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming Systemd Services that Refuse to Die: How I Learned to Stop Worrying and Love the `--no-block` Option</title>
      <link>https://mrtomlinux.org/post/2026-05-24-taming-systemd-services-that-refuse-to-die-ho/</link>
      <pubDate>Sun, 24 May 2026 10:23:19 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-24-taming-systemd-services-that-refuse-to-die-ho/</guid>
      <description>&lt;h2 id=&#34;introduction-to-systemd-services&#34;&gt;Introduction to Systemd Services&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve encountered my fair share of services that just won&amp;rsquo;t quit, even after trying to stop them. It&amp;rsquo;s frustrating, especially when you&amp;rsquo;re trying to troubleshoot or debug issues. One option that&amp;rsquo;s been a lifesaver for me is the &lt;code&gt;--no-block&lt;/code&gt; option when managing systemd services. In this article, I&amp;rsquo;ll show you how to use this option to tame those stubborn services and make your Linux workflow more efficient.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming systemd Service Restart Behavior with StartLimitBurst and StartLimitInterval</title>
      <link>https://mrtomlinux.org/post/2026-05-23-taming-systemd-service-restart-behavior-with-/</link>
      <pubDate>Sat, 23 May 2026 11:27:52 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-23-taming-systemd-service-restart-behavior-with-/</guid>
      <description>&lt;h2 id=&#34;introduction-to-systemd-service-restart-behavior&#34;&gt;Introduction to systemd Service Restart Behavior&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve seen this go wrong when working with systemd services: a service restarts repeatedly, causing issues with your system&amp;rsquo;s stability and performance. The real trick is to understand how to tame this behavior using two key parameters: &lt;code&gt;StartLimitBurst&lt;/code&gt; and &lt;code&gt;StartLimitInterval&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;understanding-startlimitburst-and-startlimitinterval&#34;&gt;Understanding StartLimitBurst and StartLimitInterval&lt;/h2&gt;&#xA;&lt;p&gt;These two settings are related and determine how often a systemd service can restart within a given time frame. &lt;code&gt;StartLimitBurst&lt;/code&gt; specifies the maximum number of restarts allowed within the &lt;code&gt;StartLimitInterval&lt;/code&gt; time period. If the service restarts more times than specified by &lt;code&gt;StartLimitBurst&lt;/code&gt; within the &lt;code&gt;StartLimitInterval&lt;/code&gt;, it will be placed in a failed state and will not be restarted again.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming System Load Spikes with nice, ionice, and cgroups on a Home Server</title>
      <link>https://mrtomlinux.org/post/2026-05-22-taming-system-load-spikes-with-nice-ionice-an/</link>
      <pubDate>Fri, 22 May 2026 10:06:37 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-22-taming-system-load-spikes-with-nice-ionice-an/</guid>
      <description>&lt;h2 id=&#34;introduction-to-system-load-spikes&#34;&gt;Introduction to System Load Spikes&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve had my fair share of system load spikes on my home server over the years. These spikes can be caused by resource-intensive applications, misconfigured services, or even malware. I recall one particularly nasty spike that brought my server to its knees - it was a real wake-up call. Since then, I&amp;rsquo;ve been exploring ways to manage system load on my Linux home server. In this article, I&amp;rsquo;ll share my experiences with using &lt;code&gt;nice&lt;/code&gt;, &lt;code&gt;ionice&lt;/code&gt;, and &lt;code&gt;cgroups&lt;/code&gt; to tame these spikes.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Recovering from a Failed Boot After Accidentally Removing systemd on a Desktop System</title>
      <link>https://mrtomlinux.org/post/2026-05-21-recovering-from-a-failed-boot-after-accidenta/</link>
      <pubDate>Thu, 21 May 2026 10:50:50 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-21-recovering-from-a-failed-boot-after-accidenta/</guid>
      <description>&lt;h2 id=&#34;introduction-to-the-problem&#34;&gt;Introduction to the Problem&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve seen this go wrong when you&amp;rsquo;re trying to remove unnecessary packages from your system - accidentally removing systemd can be a real headache. As of 2026, systemd has become an essential part of many Linux distributions, including Debian, Arch Linux, and OpenSUSE. It&amp;rsquo;s responsible for managing system services, boot processes, and system states. If you&amp;rsquo;ve found yourself in this situation, don&amp;rsquo;t worry, it&amp;rsquo;s recoverable. In this article, we&amp;rsquo;ll walk through the steps to recover from a failed boot after removing systemd.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming Background Tasks with nohup and systemd - A Homelab Lesson Learned</title>
      <link>https://mrtomlinux.org/post/2026-05-20-taming-background-tasks-with-nohup-and-system/</link>
      <pubDate>Wed, 20 May 2026 09:30:22 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-20-taming-background-tasks-with-nohup-and-system/</guid>
      <description>&lt;h2 id=&#34;introduction-to-background-tasks&#34;&gt;Introduction to Background Tasks&lt;/h2&gt;&#xA;&lt;p&gt;As someone who&amp;rsquo;s spent years running a homelab, I&amp;rsquo;ve learned that managing background tasks can be a real challenge. You&amp;rsquo;ve got scripts and commands that need to keep running, even after you&amp;rsquo;ve logged out of your system. In my experience, &lt;code&gt;nohup&lt;/code&gt; and &lt;code&gt;systemd&lt;/code&gt; have been the two most useful tools for getting this done.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-is-nohup&#34;&gt;What is nohup?&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;nohup&lt;/code&gt; is a simple command that lets you run a process in the background, ignoring the SIGHUP signal that&amp;rsquo;s sent when the controlling terminal closes. This means you can start a process with &lt;code&gt;nohup&lt;/code&gt;, log out, and the process will just keep on running. Here&amp;rsquo;s an example:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taming CPU Usage Spikes with `systemd` and `ps` in My Home Server Setup</title>
      <link>https://mrtomlinux.org/post/2026-05-17-taming-cpu-usage-spikes-with-systemd-and-ps-i/</link>
      <pubDate>Sun, 17 May 2026 10:15:48 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-05-17-taming-cpu-usage-spikes-with-systemd-and-ps-i/</guid>
      <description>&lt;h2 id=&#34;introduction-to-cpu-usage-spikes&#34;&gt;Introduction to CPU Usage Spikes&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve had my fair share of CPU usage spikes on my home server, and I&amp;rsquo;ve learned that they can be caused by a variety of factors, including resource-intensive applications, misconfigured services, or even malware. The real trick is to identify the root cause of the spike and take corrective action. In my experience, using &lt;code&gt;systemd&lt;/code&gt; and &lt;code&gt;ps&lt;/code&gt; can be a powerful way to manage CPU usage spikes.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Understanding Systemd</title>
      <link>https://mrtomlinux.org/post/systemd/</link>
      <pubDate>Fri, 03 Jan 2025 00:00:00 +0000</pubDate>
      <guid>https://mrtomlinux.org/post/systemd/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Systemd&lt;/strong&gt; is a modern init system and service manager for Linux, designed to address the limitations of traditional init systems like SysVinit. It has become the default init system for many major Linux distributions, including Ubuntu, Fedora, and Arch Linux. Systemd offers a comprehensive set of features aimed at improving the efficiency, performance, and manageability of Linux systems.&lt;/p&gt;&#xA;&lt;h2 id=&#34;key-features-of-systemd&#34;&gt;Key Features of Systemd&lt;/h2&gt;&#xA;&lt;h3 id=&#34;parallel-startup&#34;&gt;Parallel Startup&lt;/h3&gt;&#xA;&lt;p&gt;One of Systemd&amp;rsquo;s most significant advantages is its ability to start services in parallel, drastically reducing boot times. Unlike older init systems, which execute startup scripts sequentially, Systemd leverages dependency management to start services simultaneously whenever possible.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
