Last Updated: February 25, 2016
·
943
· rshetty

Run a Process as a Daemon

Often at times, in your application you want a particular process or service to be running at all the times.

Basically you have to demonize your process so that it runs in background at all times.

You can demonize your process using 'nohup'.

nohup 'rake do:something'

In the example above I have demonized a rake task.

In the same way any command, process or service can be demonized using 'nohup' command.