Instead of maintaining separate start/stop list have one master list for services and one for executables, in a data structure;
services:
- service name (to be displayed via echo along with note)
- file name (to aact on)
- stop (bool)
- start (bool)
- note (to be displayed with service name)
Apps:
- path
- executable
- kill
- graceful/forced (/f)
- must affirm (/y at end): bool
- start
services
optimize:
stop all services marked stop
restore:
start all services marked start
Apps
same as above