How to create program that can be run by: #service myservice start

Posted by Saif Bechan on Stack Overflow See other posts from Stack Overflow or by Saif Bechan
Published on 2010-03-30T05:57:15Z Indexed on 2010/03/30 6:03 UTC
Read the original article Hit count: 378

Filed under:
|
|
|

I am new to Linux and want to know what kind of programs can be run by using.

#service myservice start

And the programs stays on until stopped. Are they normal c++ programs or are they different. In some tutorials i have seen that they use ./myprogram to start a program.

Another thing I have seen is the usage of .sh files.

One last type of program i see is executed by the command: #/usr/bin/myprogramm

Can someone explain the difference between these or point me to a basic tutorial/guide.

© Stack Overflow or respective owner

Related posts about c++

Related posts about service