In my previous post, I created (copy pasted) Shell Script for running newly compiled Nginx development version in Fedora 17 in Oracle VirtualBox, but when I stopped the machine and restarted it again, Nginx didn’t start with the Operating System. It is not overwhelming issue, as I forgot to make the Shell Script to start with the system runlevels. This shows how dependent I was on installing the software packages from the source. Anyways, I haven’t lost my Linux touch, so, I checked if Nginx is added to start with Operating System, by,
chkconfig --list nginx
The command didn’t output any result, so, now I have to add the nginx to automatically start when OS starts. In RedHat based systems its fairly easy by doing
chkconfig --add nginx
Now to check if the service is added or not
chkconfig --list nginx
The output should look like
Nginx 0:off 1:off 2:on 3:off 4:on 5:on 6:off
Politeness costs nothing and gains everything.