Contents
How do I set a program to run on startup Linux?
How to run a Linux Program on Startup
- Run this command sudo nano /etc/systemd/system/YOUR_SERVICE_NAME.service.
- Paste in the command below. …
- Reload services sudo systemctl daemon-reload.
- Enable the service sudo systemctl enable YOUR_SERVICE_NAME.
- Start the service sudo systemctl start YOUR_SERVICE_NAME.
How do I set a program to launch at startup?
How to Add Programs, Files, and Folders to System Startup in…
- Press Windows+R to open the “Run” dialog box.
- Type “shell:startup” and then hit Enter to open the “Startup” folder.
- Create a shortcut in the “Startup” folder to any file, folder, or app’s executable file. It will open on startup the next time you boot.