From Annvix
srv -- Tool to manage runsv-controlled services
The following is a list of changes and enhancements needed in srv for 1.1-RELEASE:
- Dependency tracking RFC COMPLETE
- Args Srv Argument tracking RFC COMPLETE
- Ipsvd Instructions (acls) COMPLETE
- merge status & list in 1.1 COMPLETE
- fix argument parsing COMPLETE
- add force for kill -9 a process COMPLETE
- send errors to stderr COMPLETE
- check for looping services COMPLETE
- on error, log and send to stderr COMPLETE
- better quiet handling COMPLETE
- support multiple services in 1 execution COMPLETE
- quote all runsvstat & runsvctl arguements (consistency) COMPLETE
- Global variables should be initialized globally. COMPLETE
- Now that RETVAL, SERVICE, and RETURN are gone this should be fulfilled.
- full paths of programs -- needed for non interactive execution.
- should RETVAL be deprecated and test $? for the function returned status COMPLETE
- Comment script COMPLETE
- make sure if service started then log is also. COMPLETE
- make logs independent (continued output -- finish perhaps) COMPLETE
- merge stop with rstop, start with rstart, etc. COMPLETE
- change all checking to see if supervise is running to waitmgr. COMPLETE
- slowly removed all of the instances but those that needed them.
- consolidate waitdown/waitup into isdown/isup COMPLETE
- make function arguements consistent, just service vs full path COMPLETE
- make dots contained in a message so you know what you are waiting for
- make peers easier to read COMPLETE
- simplify the main path, ie create some functions
- any way to cache a dependency list, ie make deps faster.
- make backups of peers.cdb file COMPLETE
- add seconds to the list
- create an --info
- date started
- time elapsed
- what runsvstat says about it
- dependencys -- forward & reverse
- peers information
- env pairs
- On service add, if peers exists but peers.cdb doesn't then autocreate.
SRV arguments
- -h help
- -q quiet
- -v verbose
- -l list
- -f force
- ADD
- DEL
- START
- STOP
- RESTART
ipsvd instructions:
- -m max connections
- -e environmental variables
- -p peers
- ALLOW
- DENY
- REMOVE
- DDNS