The program accepts an array of arguments each with different options and parameters. Some of these options are positional and have a different meaning that depend on its argument.
The program is written in C. It is made up of modules each belonging to a unique project that perform tasks for that particular project. It is the modularity nature of this project that make it useful, interesting and easy to debug and maintain.
This documentation can also be found at puma man.
puma -t -v [module] [argment-1 [option-1][option-2]] [argment-2 [option-1][option-2]] … [argment-n[option-1][option-2]]
-t | Debug mode. In debug mode, the program displays the steps that will be executed without executing them. |
-v | Verbose output. By default the program display minimal information so that a snapshot is given. This flags triggers extra information including the steps that are being executed. |
-l | The Linux web stack component. Uptime will be displayed by default. If –v flag is on, then the cpu, memory, storage, and network information will also be displayed |
-a | The Apache web stack component |
-m | The MySQL web stack component |
-o | The Oracle web stack component |
-s | The Sqlite web stack component |
-p | The PHP web stack component |
The Mail component |
puma -t -v [module] start -l -a -m -p -mail puma -t -v [module] stop -l -a -m -p -mail puma -t -v [module] restart -l -a -m -p -mail puma -t -v [module] status -l -a -m -p -mail puma -t -v [module] debug -l -a -m -p -mail puma -t -v [module] backup [source] puma -t -v [module] export [source] puma -t -v [module] restore [source] [destination] puma -t -v [module] import [source] [destination] puma -t -v [module] backup [source] restore [source] [destination] puma -t -v [module] export [source] import [source] [destination]