How to create an autostart script in Linux (Red Hat / CentOS / Fedora)
How to create an auto start script in Linux (Red Hat / CentOS / Fedora): Option 1: Use chkconfig script to run /etc/init.d/… Create a script and place in /etc/init.d (e.g /etc/init.d/myscript). The script should have the following format: #!/bin/bash # chkconfig: 2345 20 80 # Source function library. . /etc/init.d/functions start() { # code to start app …
How to create an autostart script in Linux (Red Hat / CentOS / Fedora) Read More »