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.
Written by Rajeev N Bharshetty
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#