DB-hub Technology Linux How to Run a Command on Startup in Linux

How to Run a Command on Startup in Linux

Add commands to /etc/rc.local

# This script is executed at the end of each multiuser runlevel
/<path to your script>/script.sh || exit 1   # Added
exit 0

Leave a Reply

您的邮箱地址不会被公开。 必填项已用 * 标注

Related Post