Nov 05, 2003
How can I configure a service to run at startup - Ask Ubuntu Add your script that you want to run on boot process there, for example: sh /home/ivan/iptables.sh echo 'Iptable Configured!' Review the comments included in that file and make sure an exit 0 is at the end. Start process on boot - LinuxQuestions.org Apr 28, 2017 How to Start Linux Daemon program at boot up - Server Fault
How to Auto-Start Services on Boot in RHEL/CentOS 7
Configuring Service to Start on Boot. Once you are satisfied with the script and ensure it works, next you want to configure that so it trigger on boot and start. Go to /etc/systemd/system and execute below enable command (don’t forget to change the .service file name with the one you have) # systemctl enable chat_server.service
How To Configure a Linux Service to Start Automatically
Step by Step Linux (RHEL 6 / 7) boot process for beginners