Raise TERM instead of weak INT when doing touch ~/.shutdown

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Prevent engine from invoking restart slots when already shutdown hook was called. Creating ~/.shutdown file when SIGINT is called.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Updated Default igniters format. More in details.

* Added new fields: repository (git repo address to pull app from), and dependencies (list of names of apps used or required as a service dependency)
* Implemented reading json list of dependencies.
* Implemented SERVICE_REPOSITORY value as "repository" in igniters.
* renamed version to formatVersion in Default.json

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Implemented "dependencyOf" in igniters. Provided SERVICE_DEPENDENCY_PREFIX for service with additional dependencies.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Don't allow spawning babysitter for not running services. Fixed typo

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Implemented dependency launching with main service (experimental). It's currently synchronous.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Updated Mysql Igniter to throw output to unified siingle place.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Don't rotate default output (garbage). Changed some log levels of process (noise).

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
More debugging info about expectations.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Brought back possibility to validate start hook (not reliable at all for long launching processes like Rails server).

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Removed hacky asynchronous .start / .autostart dependency managment. it's replaced by synchronous reliable solution which keeps order of execution.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Increased death watcher pause from 3 to 5 seconds.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Updated readme with short SERVICE_DEPENDENCY_PREFIX info.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Put a death watch by default in afterStop hook when there's still service.pid file available (hack?)

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Using ccache in Common.pro for C and C preprocessor to speed up incremental build time.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Merge branch 'refs/heads/experimental'