title: Installable Linux daemons, how to create them in C++?
body: <p>Installable Linux daemons, how to create them in C++ ?</p>
  
  <p>I have a server applicationin C++ which I want it to behave the same way as a Windows Service. Ie it should be started whenever the system is started independently of whether there is a user logged in or not. In Windows there are a lot of C++ classes able to facilitate communication with the Service manager and handle the start/stop/pause commands. What about Linux ? Also how can I easily deploy my application ? I envy the way how some applications get installed using the apt-get system command, is that easy to do with a custom application, say that I provide the binaries in one machine then automatically fetch them from the target Linux one ... ?</p>
  
  <p>Thank you in advance for your help.</p>