<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>My Tips</title><link>https://tips.1707.io/docs/init-systems/</link><description>Recent content on My Tips</description><generator>Hugo</generator><language>en</language><atom:link href="https://tips.1707.io/docs/init-systems/index.xml" rel="self" type="application/rss+xml"/><item><title/><link>https://tips.1707.io/docs/init-systems/openrc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tips.1707.io/docs/init-systems/openrc/</guid><description>&lt;h1 id="openrc"&gt;OpenRC&lt;a class="anchor" href="#openrc"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;h2 id="manage-system-services"&gt;Manage System Services&lt;a class="anchor" href="#manage-system-services"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="check-all-service-statuses"&gt;Check all service statuses&lt;a class="anchor" href="#check-all-service-statuses"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;rc-status
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="list-services"&gt;List services&lt;a class="anchor" href="#list-services"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;rc-status --list
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="enable-service-on-boot"&gt;Enable service on boot&lt;a class="anchor" href="#enable-service-on-boot"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;rc-update add serviceName default
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="disable-service-on-boot"&gt;Disable service on boot&lt;a class="anchor" href="#disable-service-on-boot"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;rc-update del serviceName default
&lt;/code&gt;&lt;/pre&gt;
&lt;h4 id="startstoprestart-service"&gt;Start/stop/restart service&lt;a class="anchor" href="#startstoprestart-service"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;rc-service serviceName start/stop/restart
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title/><link>https://tips.1707.io/docs/init-systems/systemd/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tips.1707.io/docs/init-systems/systemd/</guid><description>&lt;h1 id="systemd"&gt;systemd&lt;a class="anchor" href="#systemd"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;h3 id="reset-failed-services"&gt;Reset Failed Services&lt;a class="anchor" href="#reset-failed-services"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl reset-failed
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="show-status"&gt;Show Status&lt;a class="anchor" href="#show-status"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl status
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="show-dependencies-of-a-service"&gt;Show Dependencies of a Service&lt;a class="anchor" href="#show-dependencies-of-a-service"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl list-dependencies sericeName
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="reload-systemd-service-files-from-disk"&gt;Reload Systemd Service Files From Disk&lt;a class="anchor" href="#reload-systemd-service-files-from-disk"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl daemon-reload
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="start-a-service-at-boot"&gt;Start a Service at Boot&lt;a class="anchor" href="#start-a-service-at-boot"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl enable sericeName
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="disable-service-start-on-boot-and-stop-it"&gt;Disable service start on boot and stop it&lt;a class="anchor" href="#disable-service-start-on-boot-and-stop-it"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl disable sericeName
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="check-service-status"&gt;Check Service Status&lt;a class="anchor" href="#check-service-status"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl status sericeName
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="start-service"&gt;Start Service&lt;a class="anchor" href="#start-service"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl start sericeName
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="stop-service"&gt;Stop Service&lt;a class="anchor" href="#stop-service"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl stop sericeName
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="restart-service"&gt;Restart Service&lt;a class="anchor" href="#restart-service"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl restart sericeName
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id="reload-configuration-for-service"&gt;Reload Configuration for Service&lt;a class="anchor" href="#reload-configuration-for-service"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;systemctl reload sericeName
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>