💾 Archived View for sdf.org › blippy › rclo.gmi captured on 2024-06-16 at 12:34:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

-=-=-=-=-=-=-

/etc/rc.local

Created 2023-06-22

sudo vim /etc/rc.local

#!/bin/sh
# add your commands 
# call your scripts here
 
# last line must be exit 0 
exit 0

sudo chmod -v +x /etc/rc.local

systemd enable

sudo systemctl is-enabled rc-local.service
sudo systemctl status rc-local.service

sudo systemctl enable rc-local.service
sudo systemctl start rc-local.service
sudo systemctl status rc-local.service
sudo systemctl cat rc-local.service  # see service configuration