You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Hovemeyer edited this page May 7, 2014
·
10 revisions
About
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.
Detailed information
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.