Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Automation, sensing and robotics • Re: Make code run in TTY1 on startup

$
0
0
Go with systemd.
As indicated in the url provided, write a service file. Enable and start using systemctl.
sudo systemctl enable yourservice.service
sudo systemctl start yourservice.service

Check the status of the service with
systemctl status yourservice

Look for error messages in journalctl, in a terminal window run
sudo journalctl -u yourservice
If there are error messages, you should see em there.

Statistics: Posted by ghp — Sun Mar 30, 2025 2:45 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles