I have this following setup but its not working in my CentOS 6x (3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64 x86_64 x86_64 GNU/Linux)
Step 1: vi /etc/init/a.conf
description "a.js" author "YumYumYum" # Stanzas # # Stanzas control when and how a process is started and stopped # See a list of stanzas here: http://upstart.ubuntu.com/wiki/Stanzas#respawn # When to start the service start on runlevel  # When to stop the service stop on runlevel  # Automatically restart process if crashed respawn script echo $$ > /var/run/a.pid; exec node /var/tmp/signal/a.js end script post-stop script rm -f /var/run/a.pid end script
$ service a start a: unrecognized service
How do i run it please?