Debian Linux:serviceApplication

Alright, fairly new to Linux. I’m using Debian, in minimal command-line (bash) mode. I have copied my application over to a directory /root/app/ (called myapp). I’m able to run it using ‘./myapp’ from that directory after setting up the proper permissions. Now, I want to install it as a service application. I have no idea how to do that. I can see all the services running using ‘chkconfig’, but have no clue how to set up my application to get into this list of services, nor how to switch it ‘on’ by default. I’ve tried Googling without success. Anybody with Debian Linux experience able to point me in the proper direction? Thanks!

Nevermind… figured it out using similar instructions to this page:

https://wiki.birncommunity.org/display/NEWBIRNCC/Setting+Up+a+Linux+Service