-
Notifications
You must be signed in to change notification settings - Fork 15
Home
This is a really simple Java library for starting, stopping, and controlling
daemon processes written in Java on Unix/Linux. To allow your program
to run as a daemon, just link this library into your program.
The library does not use native code, nor does it require external
shell scripts. All OS-dependent functionality is implemented by executing
subprocesses, specifically sh
, ps
, and mkfifo
.
This library is used to build deployable jarfiles for the CloudCoder programming exercise system. We use it for web applications (embedding the Jetty application server along with a web application in a single jarfile) as well as other daemon processes.
Build and run the ExampleDaemon to get a sense of what this library does.
The Invocation page documents the commands and options used to start, shut down, and check daemon instances.
See the Implementing page for information about creating daemon and daemon controller classes for your application.
Downloads are available from the Downloads page.
The Building page describes how to build the library.
There is Javadoc.
The code is distributed under the MIT license.
Let me know if you have any feedback, patches, etc.
David Hovemeyer [email protected]