Raymii.org
Quis custodiet ipsos custodes?Home | About | All pages | Cluster Status | RSS Feed
rc.local support on Arch Linux with systemd
Published: 13-01-2014 | Author: Remy van Elst | Text only version of this article
❗ This post is over eleven years old. It may no longer be up to date. Opinions may have changed.
Arch Linux uses systemd. Therefore, init functions like rc.local are not
supported anymore. This systemd service allows you to have support for
/etc/rc.local
.
Recently I removed all Google Ads from this site due to their invasive tracking, as well as Google Analytics. Please, if you found this content useful, consider a small donation using any of the options below. It means the world to me if you show your appreciation and you'll help pay the server costs:
GitHub Sponsorship
PCBWay referral link (You get $5, I get $20 after you've placed an order)
Digital Ocea referral link ($200 credit for 60 days. Spend $25 after your credit expires and I'll get $25!)
Edit /usr/lib/systemd/system/rc-local.service
:
[Unit]
Description=/etc/rc.local compatibility
[Service]
Type=oneshot
ExecStart=/etc/rc.local
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Enable it:
systemctl enable rc-local.service
Tags: arch
, fedora
, init
, rc
, systemd
, tutorials
, upstart