Categories
How to run sh script on centos boot?
Good evening, there is a socket.sh file, you need to run it on boot, I write sh socket.sh in rc.local (it's at the root), nothing starts, I've already tried a bunch of options
Answer the question
In order to leave comments, you need to log in
Specify the full path to the script file:/bin/sh /socket.sh
/bin/sh /socket.sh
Through cron add and specify @reboot
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question