[Ilugc] create a daemon

  • From: baskar@xxxxxxxxxxxx (Baskar Selvaraj)
  • Date: Sun, 9 Aug 2015 16:10:33 +0530

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.

You may try this if your OS supports 'systemd' service

http://patrakov.blogspot.in/2011/01/writing-systemd-service-files.html

http://unix.stackexchange.com/questions/15348/writing-basic-systemd-service-files

S. Baskar

Other related posts: