[Ilugc] create a daemon

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Tue, 11 Aug 2015 12:24:23 +0530

On Fri, Aug 7, 2015 at 7:55 PM, Ajeesh Kannan <ajeeshbkannan at gmail.com> 
wrote:

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.



See below.

Also this service would be run on a screen on the server.

This would require an "auto" login for a specific desktop user that
has requisite authorization(s) to do the stuff you want the
application to do.  Depending on what kind of desktop (GNOME, KDE,
XFCE etc) you are using, you will have to look up it's respective
'auto' start application(s) mechanism as well.

HTH,
-- Arun Khan

Other related posts: