| 1 |
lars |
1 |
System_Daemon is a PHP class that allows developers to create their own daemon
|
|
|
2 |
applications on Linux systems. The class is focussed entirely on creating &
|
|
|
3 |
spawning standalone daemons, and for example includes:
|
|
|
4 |
|
|
|
5 |
1. Methods to generate OS-specific startup-files (init.d) (currently only
|
|
|
6 |
Debian/Ubuntu are supported), so that your application gets started on
|
|
|
7 |
reboot as well.
|
|
|
8 |
2. Methods for logging purposes, also support for PEAR's Log package
|
|
|
9 |
3. Simple syntax
|
|
|
10 |
5. Can run with or without PEAR (PEAR adds more elegance & functionality,
|
|
|
11 |
no-PEAR offers functionality like including system_daemon with svn:externals
|
|
|
12 |
and reduced dependencies)
|
|
|
13 |
6. Default signal handlers, but optionally reroute signals to your own
|
|
|
14 |
handlers.
|
|
|
15 |
7. Set options like max RAM usage
|