Commit graph

3 commits

Author SHA1 Message Date
Dmitry Khomutov e5164ae1dd Refactored structure 2016-06-23 21:18:41 +06:00
Dan Cryer 3fc6bbef88 Fixing new PHPCS errors. 2015-10-05 14:17:13 +01:00
Adirelle 7de9023810 Reworked the DaemonCommand.
* Accepts options for PID and log file.
* Uses posix_kill whenever available.
* Checks that the daemon actually started or stopped.
* Try to terminate then kill the daemon.
* Uses the logger or output instead of "echo".

Added a ProcessControl interface and implementations.

Closed #908
2015-05-28 10:55:59 +02:00