About insd
Insd stands for Instant Daemon. It is a simple toolkit for creating C++ programs that run as daemons.
A daemon is the term given to a background server process in Unix-like operating systems such as Linux. Normally, creating an application that runs as a background server process requires awareness of a series of esoteric steps involved, such as closing stdio pipes, detaching the process from the terminal, and spawning the server process itself.
Insd is useful if you don't want to get into all the behind-the-scenes details of creating and managing a daemon. It allows you to make your C++ programs run as background server processes with very little effort.
Insd provides the following features:
Start, stop, and check for a running instance of a server process.
Optionally redirect stderr to a log file (a server process normally has no stdout or stderr capability).
Optionally provide a Unix domain socket file which client processes can use to exchange messages with the server process.
An API subset for client processes to use to connect to Unix domain sockets.