Implemented commandline params, updated README.md, added cpanfile, fixed couple of bugs
- Use Proc::Find instead of ps utility - Use builtin kill instead of commandline utility - Use setpriority instead of renice utility - Implemented config parameter loopdelay - Implemented config parameter cmddelay - Implemented commandline parameter --config - Added --help parameter - Implemented commandline parameter --pidfile - Added cpanfile and bootstrap.sh to bootstrap this daemon - Optimized algo - do not send signals to already "signaled" processes, do not ionice already ioniced pids
This commit is contained in:
10
cpanfile
Normal file
10
cpanfile
Normal file
@@ -0,0 +1,10 @@
|
||||
## no critic
|
||||
# Почему-то perlcritic пытается критиковать и cpanfile тоже, хотя он к перловым программам и либам не относится.
|
||||
# Проставим версии зависимостей в то, что по идее должно работать с текущим перлом. Типа "как у взрослых".
|
||||
requires Encode, '>=3.19';
|
||||
requires Getopt::Long, '>=2.54';
|
||||
requires JSON::XS, '>=4.03';
|
||||
# Built-in perl distribution
|
||||
requires POSIX, '0';
|
||||
requires Proc::Find, '>=0.051';
|
||||
requires Time::HiRes, '>=1.9764';
|
||||
Reference in New Issue
Block a user