FG
💻 Software

How to run a script on CentOS Linux startup

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

Problem

I put one script in . Now I want it to run at startup. How can I do that with chkconfig? But I am not sure how it works.

Error Output

chkconfig --add abc.sh

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to run a script on CentOS Linux startup

Low Risk

Scripts which run on startup are not said to be a script — if you want the script to be executed at startup, change the following in :

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment