Sha256: 3efe301b928fe2499f3cb94fcc720058a11eed8fcb4eeebbd1dd32f5663a9c4a
Contents?: true
Size: 1.01 KB
Versions: 44
Compression:
Stored size: 1.01 KB
Contents
DaemonKit README ================ DaemonKit has generated a skeleton Ruby daemon for you to build on. Please read through this file to ensure you get going quickly. Directories =========== bin/ <%= daemon_name %> - Stub executable to control your daemon with config/ Environment configuration files lib/ Place for your libraries libexec/ <%= daemon_name %>.rb - Your daemon code log/ Log files based on the environment name spec/ rspec's home tasks/ Place for rake tasks vendor/ Place for unpacked gems and DaemonKit tmp/ Scratch folder Logging ======= One of the biggest issues with writing daemons are gettign insight into what your daemons are doing. Logging with DaemonKit is simplified as DaemonKit creates log files per environment in log. On all environments except production the log level is set to DEBUG, but you can toggle the log level by sending the running daemon SIGUSR1 and SIGUSR2 signals. SIGUSR1 will toggle between DEBUG and INFO levels, SIGUSR2 will blatantly set the level to DEBUG.
Version data entries
44 entries across 44 versions & 6 rubygems