FG
💻 Software

How do I make a script run upon startup of the Ubuntu machine?

Fresh5 days ago
Mar 15, 202639472 views
Confidence Score0%
0%

Problem

I want to run /home/myuser/go.py How do I make that run in the background, everytime my linux machine boots up?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I make a script run upon startup of the Ubuntu machine?

Low Risk

Simple way You can add this script into file (before line), e.g. Where at the end will run the script in the background. Make sure that you've execution flags. To test it, simple run from the terminal:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment