Thursday 31 October 2013

How to make java program run as a service/daemon in linux

Create a shell script as below
Now move this file to init.d location and issue update command to automatically start this as service when system reboots.

No comments:

Post a Comment