<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https:///index.php?action=history&amp;feed=atom&amp;title=Systemd</id>
	<title>Systemd - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https:///index.php?action=history&amp;feed=atom&amp;title=Systemd"/>
	<link rel="alternate" type="text/html" href=""/>
	<updated>2026-08-05T02:56:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id></id>
		<title>Gr0x0rd: /* Checking service logs */</title>
		<link rel="alternate" type="text/html" href=""/>
		<updated>2022-05-17T16:51:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Checking service logs&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:51, 17 May 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot; &gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ sudo journalctl -u &amp;lt;unit&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ sudo journalctl -u &amp;lt;unit&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It&amp;#039;s possible to trim the output using filters. This is necessary and sufficient for problematic services. To see all entries since a specific time&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It&amp;#039;s possible to trim the output using filters. This is necessary and sufficient for problematic services. To see all entries since a specific time&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ journalctl -u &amp;lt;unit&amp;gt; --since &amp;quot;2022-08-30 14:10:10&amp;quot;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sudo &lt;/ins&gt;journalctl -u &amp;lt;unit&amp;gt; --since &amp;quot;2022-08-30 14:10:10&amp;quot;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To view all entries withing a specific timeframe&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To view all entries withing a specific timeframe&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ journalctl -u &amp;lt;unit&amp;gt; --since &amp;quot;2022-08-30 14:10:10&amp;quot; --until &amp;quot;2022-08-30 14:20:10&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sudo &lt;/ins&gt;journalctl -u &amp;lt;unit&amp;gt; --since &amp;quot;2022-08-30 14:10:10&amp;quot; --until &amp;quot;2022-08-30 14:20:10&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gr0x0rd</name></author>
	</entry>
	<entry>
		<id></id>
		<title>Gr0x0rd: Created page with &quot;Systemd is a different animal from the old days of init.d. Each service has a unit, and depending on the name of the unit, you can use systemd to enable, start, stop, disable...&quot;</title>
		<link rel="alternate" type="text/html" href=""/>
		<updated>2022-05-17T16:50:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Systemd is a different animal from the old days of init.d. Each service has a unit, and depending on the name of the unit, you can use systemd to enable, start, stop, disable...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Systemd is a different animal from the old days of init.d. Each service has a unit, and depending on the name of the unit, you can use systemd to enable, start, stop, disable or check the status of a service.&lt;br /&gt;
==Checking the status of a service==&lt;br /&gt;
 $ sudo systemctl status &amp;lt;unit&amp;gt;&lt;br /&gt;
==Adding a service to startup==&lt;br /&gt;
 $ sudo systemctl enable &amp;lt;unit&amp;gt;&lt;br /&gt;
==Starting a service==&lt;br /&gt;
 $ sudo systemctl start &amp;lt;unit&amp;gt;&lt;br /&gt;
==Stopping a service==&lt;br /&gt;
 $ sudo systemctl stop &amp;lt;unit&amp;gt;&lt;br /&gt;
==Disabling a service==&lt;br /&gt;
 $ sudo systemctl disable &amp;lt;unit&amp;gt;&lt;br /&gt;
==Checking service logs==&lt;br /&gt;
The logs reset and accumulate after &amp;#039;&amp;#039;system&amp;#039;&amp;#039; startup. So if your machine has been running for a long time, or the service has generated a lot of logs, you might be dealing with a lot of information when checking the logs. To do so use the &amp;#039;&amp;#039;&amp;#039;journalctl&amp;#039;&amp;#039;&amp;#039; directive.&lt;br /&gt;
 $ sudo journalctl -u &amp;lt;unit&amp;gt;&lt;br /&gt;
It&amp;#039;s possible to trim the output using filters. This is necessary and sufficient for problematic services. To see all entries since a specific time&lt;br /&gt;
 $ journalctl -u &amp;lt;unit&amp;gt; --since &amp;quot;2022-08-30 14:10:10&amp;quot; &lt;br /&gt;
To view all entries withing a specific timeframe&lt;br /&gt;
 $ journalctl -u &amp;lt;unit&amp;gt; --since &amp;quot;2022-08-30 14:10:10&amp;quot; --until &amp;quot;2022-08-30 14:20:10&amp;quot;&lt;/div&gt;</summary>
		<author><name>Gr0x0rd</name></author>
	</entry>
</feed>