Hi Ajeesh,
Instead of writing your own daemon service, try
http://supervisord.org/ . It's a process control system and takes care of
most of your requirements and you just need to provide your option in a
config file.
On Fri, Aug 7, 2015 at 7:43 PM, Ajeesh Kannan <ajeeshbkannan at gmail.com>
wrote:
Hello,
I have installed an application. For stating this application I may need,
1. change the directory to the installed application
2. Then execute the command "foreman start -p 80"
How can I create a service for this process and enable it when the system
boot.
--
With Regards,
Ajeesh B.Kannan
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines