<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Boot on Cesar Gimenes</title><link>https://crg.eti.br/en/tags/boot/</link><description>Recent content in Boot on Cesar Gimenes</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>crg@crg.eti.br (Cesar Gimenes)</managingEditor><webMaster>crg@crg.eti.br (Cesar Gimenes)</webMaster><lastBuildDate>Sun, 20 Jul 2025 14:19:38 -0300</lastBuildDate><atom:link href="https://crg.eti.br/en/tags/boot/index.xml" rel="self" type="application/rss+xml"/><item><title>Starting services with /etc/rc.local like in the 80s</title><link>https://crg.eti.br/en/post/etc-rc-local/</link><pubDate>Sun, 20 Jul 2025 14:19:38 -0300</pubDate><author>crg@crg.eti.br (Cesar Gimenes)</author><guid>https://crg.eti.br/en/post/etc-rc-local/</guid><description>&lt;p>I often use the &lt;code>/etc/rc.local&lt;/code> &lt;em>script&lt;/em> to quickly start services during boot. It is convenient, simple, and works well on Debian and other Linux distributions. It is essentially just an sh script (or whichever shell you prefer) that runs during boot.&lt;/p>
&lt;p>Interestingly, &lt;em>rc.local&lt;/em> has been considered obsolete since the release of &lt;em>UNIX System III&lt;/em> in 1983!&lt;/p>
&lt;p>Since then, several attempts have been made to retire this file. It has not been recommended for a long time in favor of more modern solutions for starting services during boot, but it still persists. If the &lt;code>/etc/rc.local&lt;/code> file does not exist on your system, try creating it and giving it execute permission. There is a good chance systemd will recognize that you are fully &lt;em>old school&lt;/em> and run &lt;em>rc.local&lt;/em> normally during &lt;em>boot&lt;/em>, even politely waiting for the network to come up before running it (tested on Debian and Ubuntu).&lt;/p></description></item></channel></rss>