database with flag,enable rollback data
- git clone
- cd database
- go build
| Command | Description |
|---|---|
| ./database -h | help |
| ./database -c stop | stop service |
| ./database -c uinstall | uninstall service |
| ./database -c install | install service |
| ./database -c start | start service |
| ./database -c stat | show service stat |
| ./database | only run(not register service) |
- change listener port: conf.json
- stop & uninstall
- install
- start
- check stat